Permissions on folder

Marcelo Magno T. Sales marcelo.sales at sefaz.pe.gov.br
Fri Oct 14 18:27:27 UTC 2005


Hi,

Em Qui, 2005-10-13 às 17:48 +0200, nicolas Gourlé escreveu:
>  Hi,
> 
> I search to create a folder where everybody can read-write all files (his and others) Is there any permissions to put on the folder?
> Thank you for your help!
> 

. Set the umask to 00x ("x" can be anything, I suggest 7 or 2 depending
on your needs) for all users. To set umask for all users,
edit /etc/bashrc.
. Create a group and chgrp the directory to that group (you can use an
existing group, say users).
. Add all users to the group you've created or selected.
. set the SGID bit of the directory (chmod g+s directory_name)

You're done.

[]'s
Marcelo




More information about the fedora-list mailing list