Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Diff /sbin /usr/sbin /usr/local/sbin /bin /usr/bin /usr/local/bin?

    I am uncertain where (in which of the following directories) which programs should be put:


    Whats the official recommendation?

    Is this distro depended?

    Should "normal" users have write access to all "bin" folders?

    Why are there so many different locations?


  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    This is the document you are looking for
    Filesystem Hierarchy Standard
    You must always face the curtain with a bow.

  3. #3
    Good explanation, that link.

    No, normal users should not have write access to any of those bin dirs! If you want users to have "bin" dirs, the convention they should use is to make a bin dir in the home directory, and add that directory to their path, e.g.:

    mkdir ~/bin
    export PATH=${PATH}:~/bin

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts