Restrict user access to specific folder in Ubuntu

1055500 pts.
Tags:
Ubuntu
Would there happen to be a way that I can restrict a user so he/she only has access to one specific folder? This is on Ubuntu. I don't want them to have access to other folders. How can I pull this off?

Answer Wiki

Thanks. We'll let you know when a new response is added.

GUI:

  1. Open Nautilus (file explorer)
  2. Select your home folder (/home/your_name)
  3. Right click, Properties and open tab “permissions”
  4. You will see options for Owner, Group and Others. By default Others has “access files” set. Change Folder Access to None and File access to None.
  5. Click Apply Permissions to Enclosed Files to propagate the same settings to every file within your home.

This will prevent anyone else to see and access your folders and files.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • Subhendu Sen

    You can use terminal and pass this command to do the job,

    chmod -R 700 /folder_location

    Or you can use chown (change owner) and do the same job. You can type for help like, man chown and press enter key. Or please link here for more help, http://nersp.nerdc.ufl.edu/~dicke3/nerspcs/chown.html

    96,890 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: