directory permissions, sticky bits, chmod, etc.

Charles Swiger cswiger at
Wed Jun 29 18:15:57 GMT 2005

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.


More information about the freebsd-questions mailing list