Looking for a way to have common folders like "Pictures" that all users can share
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Looking for a way to have common folders like "Pictures" that all users can share
I'm trying to figure out how I can have media folders that all users on one machine can have access to and add material to.
And I'm wondering if the folder(s) can be someplace other than a user's home folder so that they can back up their home folder without having to backup all that big stuff.
You can create a directory off the root partition and then change its permissions to allow everyone to read/write (Do this as root):
Code:
mkdir /public
chmod 777 /public
Is there a way I could ensure that the folder gets on the same partition as the home folder? It looks as though mandriva has the home folder on both partitions it created, though only the home folder appears on the larger partition.
Is there a way I could ensure that the folder gets on the same partition as the home folder? It looks as though mandriva has the home folder on both partitions it created, though only the home folder appears on the larger partition.
What do you mean by this? A folder can only be on one partition at a time. Mandriva probably created a root ('/') partition and a /home partition. The home partition however, shows up inside the '/' partition because that is where it is mounted. If you want the folder to be on the same partition as /home, then create it under /home:
I'm trying to figure out how I can have media folders that all users on one machine can have access to and add material to.
And I'm wondering if the folder(s) can be someplace other than a user's home folder so that they can back up their home folder without having to backup all that big stuff.
-CG
A common area doesn't have to be in any particular place. "/home" is where you go for "your" stuff, but it's not a limitation on you. In my case (and I've noticed in others) I use "/data" for all my "stuff" (music, movies, kernels, other source code). It's on a separate disk from the root drive, and it makes it much safer for me to do upgrades and trial kernels, because if (when) I bork things really good, it's just a matter of fixing the boot drive; not fixing my data.
Consider setting up a "/data" (or your favorite name) partition or drive, and put your media there. You can give all users "rw" access, or give them their own directory, or even define a new group, set ownership to that group, and add membership in this group to your users.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.