[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

$ chmod g+s <directory or file>

or

$ chmod 2nnn <directory or file>
(replace the 3 n's with the current permissions.)


Try "man chmod" and look for "set user ID" and "set group ID".


--
Brian Curtis