2017-01-08 08:34 PM
I am trying to remove/add file-directory policy tasks to set the DACL on the Qtrees and having the problem with creating the
command using the Perl.
The first problem is to remove the task using method file-directory-security-policy-task-remove.
I could do it if I knew the path, but this value changing all the time so I want to use wildcard instead.
If I am using the command line on the Cluster then I don't have the problem:
NA3::> vserver security file-directory policy task remove -policy-name sp1 *
And task is deleted.
But using API it does not accept the wild card and asking for the exact path.
Could you please advice if it is possible to get this done without specifying the path.
2017-01-09 11:23 AM
Another problem is I am not able to add the task and getting the follow error:
Failed executing command. Exception: Field 'file-security-ntfs-sd' for 'ntfs-sd' not specified (13001)
Even though ntfs-sd is there.
Maybe someone had the same problem before?