Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
nas:no_delete_share [2017/04/20 00:38]
stanleychan [Instructions]
nas:no_delete_share [2017/04/20 20:58]
stanleychan
Line 5: Line 5:
  
 Requirement:​ Requirement:​
 +
 1. There are different users, each user has its own folder. The designated user of the folder can Read/​Write/​Modify files in that folder, but cannot delete any files. The other non-designated users can only Read files in that folder, and of course, not allowed to delete files. 1. There are different users, each user has its own folder. The designated user of the folder can Read/​Write/​Modify files in that folder, but cannot delete any files. The other non-designated users can only Read files in that folder, and of course, not allowed to delete files.
 +
 2. 1 dedicated and designated user have the full control (Read/​Write/​Modify/​Delete) to any folder and all folders. 2. 1 dedicated and designated user have the full control (Read/​Write/​Modify/​Delete) to any folder and all folders.
  
-For SMB, there are two Methods to achieve ​this purpose. One is easy and the other one is little more complex.+You can archive ​this by one of below method. First example have dedicated logical volume for each users. Second example have shared logical volume, but dedicated subfolder for each users.
  
-===== Each Users use a dedicated Volume as the Share =====+===== Each Users use a dedicated Volume as the Share  =====
  
 ==== Environment ==== ==== Environment ====
Line 61: Line 63:
   - Click “Select This Directory” and “Add”.{{ :​nas:​deny_delete_while_allow_write_permission_6.jpg?​direct&​400 |}}{{ :​nas:​deny_delete_while_allow_write_permission_7.jpg?​direct&​400 |}}   - Click “Select This Directory” and “Add”.{{ :​nas:​deny_delete_while_allow_write_permission_6.jpg?​direct&​400 |}}{{ :​nas:​deny_delete_while_allow_write_permission_7.jpg?​direct&​400 |}}
   - At this page, we set it up the same way as what we did in above: u1 = Read/​Write; ​ u2 = Read Only;   u3 = Super User   - At this page, we set it up the same way as what we did in above: u1 = Read/​Write; ​ u2 = Read Only;   u3 = Super User
-and “No Delete” option selected. {{ :​nas:​deny_delete_while_allow_write_permission_8.jpg?​direct&​400 |}}  - Go “Services -> Access Control” page, and navigate to “u1home”,​ and click “Edit” button. +and “No Delete” option selected. {{ :​nas:​deny_delete_while_allow_write_permission_8.jpg?​direct&​400 |}}<note tip>We have finish making a subfolder as a SMB Share. We will need to setup the Access Control for Subfolder "​u1home"​.</​note>​ 
-<note tip>We have finish making a subfolder as a SMB Share. We will need to setup the Access Control for Subfolder "​u1home"​.</​note>​ +  - Go “Services -> Access Control” page, and navigate to “u1home”,​ and click “Edit” button.{{ :​nas:​deny_delete_while_allow_write_permission_9.jpg?​direct&​400 |}} 
- +  - Set the permission as follow{{ :​nas:​deny_delete_while_allow_write_permission_10.jpg?​direct&​400 |}}
- +
-{{ :​nas:​deny_delete_while_allow_write_permission_9.jpg?​direct&​400 |}} +
- +
-- Set the permission as follow ​-  +
-  +
-{{ :​nas:​deny_delete_while_allow_write_permission_10.jpg?​direct&​400 |}}+
  
-<note important> ​ * u2’ – follows “Others” permission settings, which is Read / eXecute, but no Write.+<note important> ​ * u2 follows “Others” permission settings, which is Read / eXecute, but no Write.
  
-u1’ --  ​Assign Write/​Read/​Execute permissions,​ and inherits the permissions for future files and subfolders+* u1 - Assign Write/​Read/​Execute permissions,​ and inherits the permissions for future files and subfolders
  
-u3’ – no need to assign anything, for it is Superuser+* u3 no need to assign anything, for it is Superuser
 </​note>​ </​note>​