ashu thus wrote:
> My purpose is to allow two persons to write on the files in a specific
> directory.How should i make the group the owner of that directory?
* create group
$ groupadd developers
* open /etc/groups and append usernames a and b to
group developers
* remember that the users a and b should logout and
login again to update their group information.
You can check it with the "groups" command
* chgrp all files recursively in required directory to developers
$ chgrp -R developers devel_dir
* chmod recursively all files in required directory
$ find devel_dir -type f -exec chmod 0664 {} \;
* chmod all existing directories to setgid so that new directories
and files created will have appropriate permissions
$ find devel_dir -type d -exec chmod 2775 {} \;
--
arc_of_descent
-------------------------------------------------------
This sf.net email is sponsored by: Jabber - The world's fastest growing
real-time communications platform! Don't just IM. Build it in!
http://www.jabber.com/osdn/xim
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help