Re: How to set a "public" directory? (Everyone can add and modify their own files)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Got that, thank you all!!

On Fri, 8 Oct 2004 07:56:58 -0500
Dave Ihnat <ignatz@xxxxxxxxxx> wrote:

> On Fri, Oct 08, 2004 at 12:45:16PM +0800, Yin Ming wrote:
> > Hi, I'm looking for a way to setup a directory working like this:
> > ... 
> > I think it's same as the /tmp directory, so I tried to see what the
> > param of /tmp is. ls -l, but nothing special..
> 
> It *is* the same as the tmp directory.  Set the sticky bit ("+t" to chmod).
> 
> > 3. Besides that, I want this directory:
> > Any user adds a file or sub-dir to this directory, the owner and group
> > of that file become those ones of the parent directory.
> 
> Add "g+s" to the chmod command.
> 
> Programmatically, of course, these are bitmasks; look at the "chmod"
> command and system call ("man chmod", "man 2 chmod").
> 
> Cheers,

-- 
æé <yinming@xxxxxxxxxx>

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux