What's the best location for a folder intended to be used as a group storage location? In other words, I want a folder called "examplefolder" belonging to a group named "examplegroup" that can be accessed by everyone in that group. Is home/examplefolder the best location or elsewhere?


The folder needs read and write permissions, so /usr would not work. Does anyone think /var would be appropriate? What about something in the root like shared? Is there a reason not to use /home/examplefolder?


According to man hier, /usr would be appropriate if the data is going to be read only for other users. You don't have to strictly follow a specific hierarchy, although suggested. Personally all of my shared documents reside under a separate drive which I mounted at/shared and publish via Samba and also export with NFS. Storing it on a separate physical disk keeps my main disk quick and free of that activity regardless of who is accessing the share and how much they are transferring. Just make sure you set the permissions accordingly.

  • Thanks... the directory needs to be read/write though (see my edit). Maybe /var would be appropriate. What do you think? I know I can do whatever I want, but I'm trying to get a sense of what's conventional. – deuberger Sep 29 '10 at 0:02
  • @deuberger: For a more in-depth discussion, see the Filesystem Hierarchy Standard. – Dennis Williamson Sep 29 '10 at 0:27
  • Just to clarify some things: if it's under /home it doesn't necessarily mean that it can't be mounted from another partition or hard drive. – Cristian Ciupitu Sep 29 '10 at 0:54
  • Nobody ever said it can't? =S – John T Sep 29 '10 at 22:24

No, there is no raison do to else, even if your /home is on a separated partition, containing all your ìn-site jobs, doing so ensure that backuping /home could stay a separated process of maintaining system.

Instead you could create your own hierarchy: hier.7 man page say:

    This list is not exhaustive; different systems may be configured differently.

Like modifiing /etc/adduser.conf for pointing another directory containing users' home directories (DHOME) so:


than you could put your group directory to /home/groups/examplefolder

You can even create /enterpriseprivatestorage on separate partition, /enterpriseprivatestorage/users, /enterpriseprivatestorage/works and /enterpriseprivatestorage/shares than finally /enterpriseprivatestorage/shares/examples and modifing /etc/adduser.conf for setting DHOME=/enterpriseprivatestorage/users...

... has you want! (but prefferably no /usr, /var or any reserved by hier.7 manpage)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.