RE: How to set a "public" directory? (Everyone can add and modify theirown files)
From: Rigler, Stephen C. (srigler_at_marathonoil.com)
Date: 10/08/04
- Previous message: Ed Wilts: "Re: Couldnot unistall apps, installed by "make""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 8 Oct 2004 07:08:35 -0500 To: "General Red Hat Linux discussion list" <redhat-list@redhat.com>
If you chmod the directory o+t, then users can (permissions permitting)
modify each other's files but not delete them.
To make new files/dirs in the directory inherit the group's ownership
then chmod g+s.
To set both of the above do "chmod u+rwx,g+rws,o+rwt <your dir>".
I don't know of a way to do what you ask for owner. We'd have a problem
with that because it makes auditing difficult.
-Steve
-----Original Message-----
From: redhat-list-bounces@redhat.com
[mailto:redhat-list-bounces@redhat.com] On Behalf Of Yin Ming
Sent: Thursday, October 07, 2004 11:45 PM
To: General Red Hat Linux discussion list
Subject: How to set a "public" directory? (Everyone can add and modify
theirown files)
Hi, I'm looking for a way to setup a directory working like this:
1. Everyone can add, modify, delete their own files or sub-dirs to this
directory, and access other users' files if the permission is permited.
2. If the permissions are not permited, one user cannot delete other's
files
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..
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.
How to set this special directory?
-- <yinming@mdc-ds.com> -- redhat-list mailing list unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list
- Previous message: Ed Wilts: "Re: Couldnot unistall apps, installed by "make""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|