Re: directory permissions, sticky bits, chmod, etc.

From: Charles Swiger (cswiger_at_mac.com)
Date: 06/29/05

  • Next message: James Riendeau: "Re: Logging Stops after few minutes"
    Date: Wed, 29 Jun 2005 14:15:50 -0400
    To: motionsiren <motionsiren@gmail.com>
    
    

    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
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    

  • Next message: James Riendeau: "Re: Logging Stops after few minutes"

    Relevant Pages