Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| rdms:data:permissions [2026/01/15 14:26] – [Permission Inheritance] word change: screenshots --> examples jelte | rdms:data:permissions [2026/01/15 14:49] (current) – formatting giulio | ||
|---|---|---|---|
| Line 46: | Line 46: | ||
| < | < | ||
| - | # The ' | + | # This is the folder with enabled inheritance that we use as destination. Note the permissions set on this folder (the part after 'ACL' |
| - | # Please look to the ' | + | $ ils -A / |
| - | # In this case, the permission level is ' | + | ACL - teamdrive-owner@rug.nl# |
| + | Inheritance - Enabled | ||
| + | |||
| + | # First, we we will show what happens if we copy the folder | ||
| + | $ icp -r folder_test / | ||
| + | |||
| + | # Checking | ||
| + | data --> Inheritance is applied. | ||
| + | $ ils -A / | ||
| + | / | ||
| + | ACL - teamdrive-owner@rug.nl# | ||
| + | Inheritance - Enabled | ||
| + | |||
| + | # Now, we look at the permission of the second | ||
| + | # In this case, it is only a single user (rdms-testers@rug.nl) who has ' | ||
| $ ils -A folder_test | $ ils -A folder_test | ||
| / | / | ||
| Line 55: | Line 69: | ||
| # The folder is now moved to a RDMS destination with permission inheritance enabled. | # The folder is now moved to a RDMS destination with permission inheritance enabled. | ||
| - | # The ' | ||
| - | # ACL - teamdrive-owner@rug.nl# | ||
| - | # So other users have permissions in this folder and ' | ||
| $ imv folder_test / | $ imv folder_test / | ||
| - | # We list the details of the folder | + | # We check now the permissions |
| - | # Even with enabled inheritance, | + | |
| - | # Move: Does not count as new data --> Inheritance is not applied. | + | |
| $ ils -A / | $ ils -A / | ||
| / | / | ||
| ACL - rdms-testers@rug.nl# | ACL - rdms-testers@rug.nl# | ||
| Inheritance - Disabled | Inheritance - Disabled | ||
| - | |||
| - | # Now we will show what happens if we copy the folder to the destination with enabled inheritance. | ||
| - | $ icp -r folder_test / | ||
| - | |||
| - | # We list the details of the folder a third time. See the ' | ||
| - | # Checking the permission now shows that the inherited permission of the parent folder are applied. | ||
| - | # Copy: Counts as new data --> Inheritance is applied. | ||
| - | $ ils -A / | ||
| - | / | ||
| - | ACL - teamdrive-owner@rug.nl# | ||
| - | Inheritance - Enabled | ||
| </ | </ | ||
| Line 94: | Line 92: | ||
| Inheritance - Enabled | Inheritance - Enabled | ||
| - | # The ' | + | # The ' |
| $ iput test.txt / | $ iput test.txt / | ||
| - | # See the ' | + | # See the ' |
| - | # Permissions on the newly uploaded file show that it inherited the permission from the parent collection automatically | + | # Permissions on the newly uploaded file show that it inherited the permission from the parent collection automatically. |
| $ ils -A / | $ ils -A / | ||
| / | / | ||
| Line 121: | Line 119: | ||
| Inheritance - Disabled | Inheritance - Disabled | ||
| - | # The ' | + | # The ' |
| $ iput test.txt / | $ iput test.txt / | ||
| - | # See the ' | + | # See the ' |
| - | # Permissions on the newly uploaded file show that it only has one permission: own for the uploading user | + | # Permissions on the newly uploaded file show that it only has one permission: |
| $ ils -A / | $ ils -A / | ||
| / | / | ||