Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Make "Home/Download" folder the same for all users

  1. #1
    Join Date
    Nov 2013
    Beans
    29

    Make "Home/Download" folder the same for all users

    Hello,

    Is it possible to set the "home/download" folder to be the same for all users? If so, how? Did a few internet searches and no luck. At least nothing in plain English I could understand

    Would like to make it a default for any future users.

  2. #2
    Join Date
    Jun 2011
    Location
    North Carolina
    Beans
    508
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Make "Home/Download" folder the same for all users

    Quote Originally Posted by shabuboy View Post
    Is it possible to set the "home/download" folder to be the same for all users?
    If you have Ubuntu Unity, might be better to use the Public folder across accounts. Usually, Linux distros are set with individual accounts, with the users deciding what to share.

    I would think the Home directory would become cluttered and confusing, if shared by multiply users.

  3. #3
    Join Date
    Nov 2013
    Beans
    29

    Re: Make "Home/Download" folder the same for all users

    hmmm... let me rephrase the question... How can I make a folder, be the same for all users? It could be downloads, or music, or videos. I do not want home to be the same. Only one of the folders in home.

  4. #4
    Join Date
    Jun 2011
    Location
    North Carolina
    Beans
    508
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Make "Home/Download" folder the same for all users

    Use Ubuntu's Public Folder might be of interest to you

  5. #5
    Join Date
    Nov 2013
    Beans
    29

    Re: Make "Home/Download" folder the same for all users

    I did check it already. However, what I found for it is only "sharing". Users will have to browse network/computername to select the share dir. That is not what I am looking for.

    I want the following:
    - User X logs in
    - Creates a video in his /home/video folder
    - Logouts

    - User Y logs in
    - Goes to his /home/video folder and can also see (RW) video from User X

  6. #6
    Join Date
    Jan 2009
    Location
    Belgium (Ghent)
    Beans
    481
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: Make "Home/Download" folder the same for all users

    You can create a separate partition for all kind of data and than change the settings to put the downloaded files in that DATA partition instead of /home/username/Downloads. (Like in FireFox the default is)
    Even if you have other versions of Ubuntu on or a different Linux distro on that disk, I think you can use that partition to set the downloaded files on.
    I will try it here out at my computer.

    Edit: It will work if the partition mount automatic when you boot up.
    Otherwise you can create a folder and give rights to a new group and make the users member of that group, so than they can access the partition.
    (If you install gnome-system-tools you can make groups and also make all users member of that group in a graphical environment.)
    Last edited by heir4c; November 9th, 2013 at 02:58 AM.
    Dutch speaking; understand English, writing is a bit difficult. Member of: http://forum.ubuntu-nl.org
    be Open be Free be Ubuntu Reg. User #485479
    Ubuntu 13.10 Saucy Salamander - Ubuntu 14.04 Trusty Tahr

  7. #7
    Join Date
    Nov 2013
    Beans
    29

    Re: Make "Home/Download" folder the same for all users

    So lets see if I get this straight...
    - Create a group and add users to it. So far so good.
    - Create a folder somewhere and make the owners the new group. Any recommendations? I was thinking perhaps "/media/share/downloads" or "/home/public/downloads". So far ok.

    And now, how do I make current and future users be able to log into Ubuntu, go to Home folder, click on downloads and open one of the locations mentioned above? I guess there is got to be a default config somewhere to point to another location besides $HOME.

  8. #8
    Join Date
    Jun 2009
    Location
    0:0:0:0:0:0:0:1
    Beans
    5,169
    Distro
    Kubuntu

    Re: Make "Home/Download" folder the same for all users

    the guest user will not have have access to this folder, no idea i have tried to give it write access to shared content before never figured it out
    this should get you close to what you want to do
    Code:
    sudo mkdir /usr/local/Downloads
    sudo chmod 777 /usr/local/Downloads
    sudo mv /home/*/Downloads/* /usr/local/Downloads
    sudo chown -R root:root /usr/local/Downloads/*
    sudo chmod -R 777 /usr/local/Downloads/*
    sudo rmdir /home/*/Downloads
    sudo ln -s /usr/local/Downloads /home/*/Downloads
    only issues that you will have is new files being own by different users
    you could add a script to lightdm's session start/exit
    edit /etc/lightdm/lightdm.conf and add this line
    Code:
    session-cleanup-script=sh -c 'chown -R root:root /usr/local/Downloads/* & chmod 777 /usr/local/Downloads/* &'
    if you created a fat32 partition for the downloads yu would not hve any need for th chmod/chown stuff
    Last edited by pqwoerituytrueiwoq; November 9th, 2013 at 03:04 AM.
    Laptop: ASUS A54C-NB91 (Storage: WD3200BEKT + MKNSSDCR60GB-DX); Desktop: Custom Build - Images included; rPi Server
    Putting your Networked Printer's scanner software to shame PHP Scanner Server
    I frequently edit my post when I have the last post

  9. #9
    Join Date
    Jan 2009
    Location
    Belgium (Ghent)
    Beans
    481
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: Make "Home/Download" folder the same for all users

    You can rightclick on the folder/directory and make a link and place it in the home folder of the user.

    (For creating accounts/groups in graphical way you can install gnome-system-tools)
    Dutch speaking; understand English, writing is a bit difficult. Member of: http://forum.ubuntu-nl.org
    be Open be Free be Ubuntu Reg. User #485479
    Ubuntu 13.10 Saucy Salamander - Ubuntu 14.04 Trusty Tahr

  10. #10
    Join Date
    Nov 2013
    Beans
    29

    Re: Make "Home/Download" folder the same for all users

    hmmm, those only apply to existing users, what about future users who do not have a home folder yet?

    Found something, exactly what I want, However, cannot find the setting for the umask 022.
    http://askubuntu.com/questions/18103...pictures-templ

Page 1 of 2 12 LastLast

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
  •