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

  • Next message: Jim: "RE: How to set a "public" directory? (Everyone can add and modify theirown files)"
    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
    

  • Next message: Jim: "RE: How to set a "public" directory? (Everyone can add and modify theirown files)"

    Relevant Pages

    • Re: User Who Can Create, But Not Delete
      ... That means the user will be able to upload the file ... >>permissions they can't modify the file. ... And of course they can just chmod u+w the file if they ...
      (comp.unix.bsd.freebsd.misc)
    • Re: User Who Can Create, But Not Delete
      ... which is the login directory under ... >permissions they can't modify the file. ... And of course they can just chmod u+w the file if they ...
      (comp.unix.bsd.freebsd.misc)
    • RE: Excel 2007 Modify Permissions Problem.
      ... the file ".xls" I need to have Modify permissions turned on. ... I only need Modify for one file in the top directory. ... the top folder, I end up having modified in all of the sub-folders as well. ... we have around 2000 hyperlinks that all get broken. ...
      (microsoft.public.excel.misc)
    • Re: Access To Access
      ... This is usually a filesystem permissions problem. ... file require Modify permissions for the folder containing the file. ... This email account is my spam trap so I ...
      (microsoft.public.inetserver.asp.db)
    • Re: NTFS Berechtigungen W3K3 SP2
      ... You can modify how Windows Explorer handles permissions when objects are ... Ist halt nur blöd, dass ich das an jedem Client machen muss. ...
      (microsoft.public.de.german.windows.server.general)