Date: Wed, 29 Jun 2005 14:15:50 -0400 From: Charles Swiger <cswiger@mac.com> To: motionsiren <motionsiren@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: directory permissions, sticky bits, chmod, etc. Message-ID: <B0A2E791-A387-4A1F-83F6-281046FAD7BE@mac.com> In-Reply-To: <781e2bc0050629110029fb17ee@mail.gmail.com> References: <781e2bc0050629110029fb17ee@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B0A2E791-A387-4A1F-83F6-281046FAD7BE>