Break the inheritance #216
Replies: 4 comments 6 replies
-
so, you have folder X from disk, and 1/2/3 inside. Easy methodin the VFS, click folder X, then add folders 1/2/3 (from disk), so they now appear in the VFS, and you can freely edit permissions. Complex but powerfulUse the "masks" field. The "trick" is that a mask doesn't necessarily have to contain wildcards, but you can just enter a simple name, like "1". So my suggestion is, go to folder X and enter this in the masks field 1|3:
can_see: [user1]
2:
can_see: [user2] |
Beta Was this translation helpful? Give feedback.
-
easy method: you first add folder 1, then add 2 inside 1, and then 3 inside 2. masks method: 1:
can_see: [user1]
1/2/3:
can_see: [user1]
1/2:
can_see: [user2] I guess your example is not a real case 🙃 |
Beta Was this translation helpful? Give feedback.
-
nope, the masks method i described is complete and already does what you asked (or should). In the easy method I wrote that you set whatever permission. Once you create your structure (1+2+3), you click on 2, and decide WHO can see folder 2, so you set user2 there. This way user1 won't see just folder 2 Permissions are inherited unless you are specifying differently. |
Beta Was this translation helpful? Give feedback.
-
Ok, but your problem is inherent to the description of the task, since you said that user1 must not see folder 2, and yet you want user1 to navigate without seeing? |
Beta Was this translation helpful? Give feedback.
-
Hello everybody,
Would you please tell me if we can break the sharing permissions inherited from parent folder added from disk so we can assign new permissions on the child folders, the same way we do in windows sharing permissions ?
let us say that i have the folders: "1" , "2" and "3" under the home directory. I want "user1" to be able to see the folders: "1" and "3" only and "user2" able to see folder "2" only. is that possible and how?
Please advice.
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions