Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
I want to know what is conventional for linux with respect to directory structure.
In particular, I want to setup a directory named 'development' which would be accessed by more than one user.
This directory would have source code for numerous projects. It would look something like what is show below. My question is, where is 'development' typically located? at the top with bin, boot, dev, etc, home, and so on? in usr/local/? I should add that it is possible that more than one user could access this, so locating it in /home/joeuser/ might not make sense.
What about /var? (since it is development and changes a lot).
I would create a development user for administrating the files along with a development group and put everything in /home/development
Then put every developer in the development group.
The development user can be handy in order to administer CVS or SVN or whatever versioning tools you use.
yes.. its supposed to be for logs and files that change in size alot.
check out the FHS documentation for it here.. browse through the whole thing too, its a very informative document.
I would go for something like /usr/local/development personally ... a place that wouldn't get touched with an OS upgrade. Also, whatever directory you decide to use should probably be a seperate mountpoint and not just a subdirectory under some parent mountpoint. This simplifies backups, restores, mounting options, and moving it around to different locations if decide you don't like it's current placement.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.