"Walter Mautner" <(E-Mail Removed)> wrote in message
news:23gs31-(E-Mail Removed)
> The unix way is to set the sticky group bit on the main directory of
> that share (like drwxrwsr-x).
sgid != sticky bit. This is a very common error that seems to arise from the
fact that the word sticky starts with an "s". The sticky bit has nothing to
do with the set group id permission.
The sgid perm you have indicated above is invoked via "chmod g+s dirname",
and assigns the same group id of the dirname to all files created below that
directory, and as such is the correct answer to the OP's question, but it is
*not* called "the sticky bit."
A "sticky bit" is denoted by a "t" in the world execute field of a directory
permission, and is granted by a chmod +t dirname. See the output of "ls -l /
/var | grep tmp" for an example. This assigns ownership of any file created
in that directory to the user who created the file.
The sticky bit on a parent directory allows only the owner of the file
within that directory, the owner of the parent directory or the superuser to
modify or delete the file.
tony
--
use hotmail com for any email replies
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----