Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

The client I'm working for deploys their application to a directory they created at the root level. While acknowledging it is a matter of local preference, I am unsure if this is in accordance with the generally accepted standard how to distribute an application's components across a Unix-like system. E.g. normally, I would put the binaries for my deployed app to /opt, conf files in /etc, logs under /var etc. But then again, this is the primary application the server is used for so it isn't exactly equivalent to untaring some 3rd party software into /opt.

Still, personally, I would prefer not to add any dirs at the root level, i.e. would keep that level sort of sacred out of respect for the original Unix file hierarchy. I wanted to ask whether this is common and what are some ramifications of this approach.

share|improve this question

1 Answer 1

The Filesystem Hierarchy Standard defines where particular files go. As an administrator of a server, you can choose to place files wherever you want. The primary ramification is when "the next guy" takes over and has to figure out the non-standard locations.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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