[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] Restoring default permissions



||>what's the chmod command to get directory permissions like
||>drwxrwsr-x   2 admin    site2
||>which is the default
||>

Thom,
chmod 777 <directory name>
chown admin <directory name>

Same goes for filenames:
chmod <permission> <filename>
chown <whomever> <filename>

To do the chmod you can be admin, but to chown the directory you'll have to
be root. So may as well just su to root as soon as you telnet in.

Carrie Bartkowiak