FTP users

Discussion in 'Systems Administration' started by Christophe6, Apr 15, 2017.

  1. Hello

    I want to add a user which has access to a specific folder only. But how to do that?
     
  2. latiku

    Supporter

    Deny sudo privileges (if applicable) and chown the user to the folder.
     
  3. Thank you! But how to deny read, write and execute access to all other folders?
     
  4. A user gets its own read,writw and execute permissions
     
  5. @jessegeerts
    But how to remove those permissions for a user?
     
  6. GaIaxy

    Supporter

    The new user created shouldn't have access to anything but their directory.

    For instance, in Ubuntu if you create a new user "Sam", they will have a directory called "Sam" in which they can edit accordingly. If you chown the permissions per file, then they would be able to now access that specified file.