0

I have setup SFTP refereed from here and I have directory structure like following.

enter image description here

Now in my case, there are multiple users who can access files as per their privileges, as follow.

  1. Super admin - full access to all dir
  2. Admin - admin can access some dir, example one+two

Issue is, I am not able to set multiple permission to one directory, for example,

If I set permission for super-admin group 770, and now I want to set permission to /Security/one dir, I have to use chgrp (reference), then dir lost its super admin privileges.

can some please help out here.

6
  • I am not really sure about the how, but I know most recent Linux systems allow you to use ACLs instead of Unix permissions. This allows for way more flexible setting of permissions and access restrictions on files and folders. I'll let people who know write actual answers though. Jul 12, 2016 at 8:47
  • thank you @nathan. anyway. well I have never user ACL. but I can try that for sure, its not an issue.
    – rut2
    Jul 12, 2016 at 8:49
  • @NathanShiraini can you please send me some reference for ACL using that I can fulfill my objective?
    – rut2
    Jul 12, 2016 at 9:32
  • @NathanShiraini I was trying to manage it using ACL yesterday, but there were 2 issue, if I give rw permission to user he is not able to list from directories, and if I give him rwx permission then it is able to listing but now they have full permission. they are able to make new directories their. I don't understand why...:(
    – rut2
    Jul 13, 2016 at 5:39

0

You must log in to answer this question.

Browse other questions tagged .