Hi,
We are trying to append file permissions on to our CIFS shares. We want to add a permission for a group of users with read only access and also add a permission for a group of users with write access.
We use ONTAP APIs to do it and have created a python script that would apply read-DL with read-permission(with propagate enabled), get the Job_UUID from the cluster and store it in a DB followed by applying write-DL with read+write-permissions(with propagate enabled), get the job_UUID from the cluster and store it in the same DB.
the issue what we faced is: some of the subfolders and files had the read-DL permission applied, some had the write-DL permission applied, some subfolders having both read-DL and write-DL permission applied. Ideally the logic is to have both the read-DL and write-DL permissions applied for all subfolders and files underneath the parent share where we apply run the script. ( API calls )
One thing we noticed is, when we first apply the read-DL permissions (through API), wait for it complete and then execute the script for write-DL permission, it works. All files and sub-folders have both read-DL and write-DL permissions applied.
is there a way we can apply read-DL permissions and write-DL permissions at the same time (parallely) on files and folders?
Is this something the community has tried and implemented successfully ?
or are there any known caveats?
Is this an API issue or a known behaviour of how NTFS handles DACLs inheritance / propagation ?
your help and pointers is highly appreciated.