Find the answer to your Linux question:
Results 1 to 3 of 3
okay, so i made a user. The home folder is /home/"home", but the problem is. i can access everything from the home folder, i can just cd to almost everywhere. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2013
    Posts
    4

    User permission help!


    okay, so i made a user. The home folder is /home/"home", but the problem is. i can access everything from the home folder, i can just cd to almost everywhere. as i think you understand, im not a "linux pro"

    Hope you can help

  2. #2
    Linux Engineer
    Join Date
    Apr 2012
    Location
    Virginia, USA
    Posts
    899
    Default permissions on Ubuntu and Debian are to allow all local users to read/view directories of other users.

    To change this, you can run (as root, or the user that owns the folder):
    chmod o-xr /home/home -R

    That will remove execute (required to view directories and execute scripts) and read permissions for 'other' users.
    Here's a good tutorial on the subject of linux ownership and permissions: Linux Tutorial - Managing Group Access on Linux and UNIX

  3. #3
    Just Joined!
    Join Date
    Feb 2013
    Posts
    4
    Thanks man

Posting Permissions

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