6
1
I am working on remote drive mounted on my system where i created some file i need to set some permission for that file.
I used icacls
but its not working.
When i am trying to access file permission its working fine.
Z:\test_permission>icacls file1.txt
file1.txt "my user name":(I)(RX,W,DC)
Everyone:(I)(RX)
While when i try to change its permission it says access denied.
Z:\test_permission>icacls file1.txt /deny "user name":R
file1.txt: Access is denied.
Successfully processed 0 files; Failed processing 1 files
For work around: When on the same disk we are working from Linux and used chmod
then all work fine.
Now i am trying to do same thing using Windows so i am using icacls
.
Also i can't use Cygwin i have to use some Windows command only.
Please correct me if i am doing something wrong.
one more thing if it may useful the remote drive hv FAT file system. and my local drive is NTFS – Abhishek – 2013-01-24T05:38:17.083