Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
Operating System - Tru64 Unix
Showing results for 
Search instead for 
Did you mean: 

change file permission

Occasional Advisor

change file permission

Hi all,

i create file with file in /etc/dev/rmt0.
& check prmission it show
-rw-r--r-- 1 root system 0 Feb 25 14:35 rmt0

I wan to change it to crw-rw-rw-
please tell me how to change.

Steven Schweda
Honored Contributor

Re: change file permission


You can't change that "-" to a "c" using
chmod. If you damaged a character-special
file ("c"), then I'd guess that you'd need to
delete what you have, and use mknod (or some
other tool with an easier-to-use interface)
to re-make the character-special file for
that device.

On the other hand, if there never was an
"rmt0" in "/etc/dev", then you could simply
delete that one, and start using the real
"rmt0", wherever it is.

Is there some real problem which you are
trying to solve? Are you trying to add a
tape drive to a Tru64 system? What are you
trying to do?
Occasional Advisor

Re: change file permission

thanks for help .