Results 1 to 3 of 3

Thread: How do I make a directory for all users to access?

  1. #1
    Join Date
    Nov 2007
    Location
    Worcester MA, USA
    Beans
    13
    Distro
    Ubuntu 7.04 Feisty Fawn

    How do I make a directory for all users to access?

    I want to have a place to store all our household files. I thought I'd done this by creating a new user and making all the permissions on its documents folder "create and delete files" but now I get an error message that says the home directory must be private to that user.
    - What am I doing wrong here?
    - How do I set up this "all users" directory for common files?

  2. #2
    Join Date
    Nov 2008
    Location
    San Gabriel Valley
    Beans
    263
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: How do I make a directory for all users to access?

    Here is an easy way:

    1. Create a directory at /
    2. Set 777 permissions on the directory

  3. #3
    Join Date
    Jul 2008
    Location
    Netherlands
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How do I make a directory for all users to access?

    Quote Originally Posted by ishkabibble View Post
    I want to have a place to store all our household files. I thought I'd done this by creating a new user and making all the permissions on its documents folder "create and delete files" but now I get an error message that says the home directory must be private to that user.
    From which application came that error ?

    Likes someone else already posted, you can do this for example :
    Code:
    sudo mkdir /data
    sudo chmod 1777 /data
    I wonder whether you want all users to be able to create, edit and delete all the files and directories inside that main directory (/data in the example).
    Because chmod 777 and chmod 1777 is not enough for that goal.
    You might need to put all users in one group and use chmod g+s on the /data directory so that group permissions are inherited, and even then the default umask creates files with 644 permissions, which is not practical for this...
    Last edited by albinootje; January 12th, 2009 at 03:55 AM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •