From: Craig W. <cra...@az...> - 2005-09-17 00:26:19
|
On Fri, 2005-09-16 at 17:15 -0700, Craig White wrote: > On Fri, 2005-09-16 at 20:04 -0400, Vern wrote: > > > You can't have two owners. > > > > I thought not. > > > > > You can, however, create a group containing > > > those two users (it can be a secondary group, and probably should be, > > > since many systems have a specific primary group for normal users, or > > > they auto-generate a primary group named after the user), and then set > > > the group ownership to that group. Just make sure group can read/write > > > your file, and all will be well. > > > > Well I created a super user at it where called Vernon and made it's secondary group as > > root. But still cannot write to the folder unless the folder has Vernon set as user. > > So how do I make it so that a group has write access? > ---- > chmod g+r /path/to/file/or/folder > > chmod g+s /path/to/file/or/folder # sticky bit so that any new files > # or folders that get created inside > # that folder retain the same group ---- brain fart chmod g+w /path/to/file/or/folder # to set group write access Craig -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. |