directory permissions, sticky bits, chmod, etc.

2005-06-29 Thread motionsiren
Im embarassed to ask but the man's aren't making any sense to me.

I have a group of users that are all in the same group. They like to
share a common directory but find that they're files are rwxr-xr-x.
I'd like to make sure that every file within that directory has
rwxrwxr-x permissions as they need to write to each others files.

Im not sure if a stickybit is the solution. I setup a test directory
and from what i got out of the man's it didn't seem to give me what I
want. Can anyone point me in the right direction?

Thanks *turns red*
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: directory permissions, sticky bits, chmod, etc.

2005-06-29 Thread Charles Swiger

On Jun 29, 2005, at 2:00 PM, motionsiren wrote:

Im embarassed to ask but the man's aren't making any sense to me.

I have a group of users that are all in the same group. They like to
share a common directory but find that they're files are rwxr-xr-x.
I'd like to make sure that every file within that directory has
rwxrwxr-x permissions as they need to write to each others files.


You can do a chmod -R g+w PATH to fix things for now.

But for this to work as you like, the users need to set their umask  
to 002.  You also want to make sure each userid has a default group  
which only they are members of, commonly done by setting up gid == uid.


--
-Chuck

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]