Hi,
I'm working on windows here..
i have a script that makes directories, subdirs (mkdir) and I afterwards set special permissions with xcacls trough a system call.
But when I took a closer look at the advanced security permissions, I saw that mkdir makes permission inheritance, when creating the subdirectories:
main dir is ok, but sub dir permissions:
Inherited From: permissions inherited by [main dir]
And I don't want that to happen.
Anyone knows how to do this?? Would using system(mkdir ...) avoid this? Or is there a perl solution (I would prefer)..?
I'm working on windows here..
i have a script that makes directories, subdirs (mkdir) and I afterwards set special permissions with xcacls trough a system call.
But when I took a closer look at the advanced security permissions, I saw that mkdir makes permission inheritance, when creating the subdirectories:
main dir is ok, but sub dir permissions:
Inherited From: permissions inherited by [main dir]
And I don't want that to happen.
Anyone knows how to do this?? Would using system(mkdir ...) avoid this? Or is there a perl solution (I would prefer)..?
Comment