Operating System - Tru64 Unix
1754216 Members
3018 Online
108812 Solutions
New Discussion юеВ

change file permission

 
sandeepd
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.


2 REPLIES 2
Steven Schweda
Honored Contributor

Re: change file permission

"/etc/dev"?

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?
sandeepd
Occasional Advisor

Re: change file permission

thanks for help .