Discussion:
Help with command line to change a folder NTFS Permission
(too old to reply)
j***@johnnydang.net
2009-07-17 12:30:55 UTC
Permalink
To all whom can help:

I have a folde on a SAN (EMC NS20) with CIFS turning on. During the
initial creating the folde, I forget to assign the domain admins full
control (Read and Execute) and the user of Modify. When I use Windows
Explorer to see the full share:

\\emc20cifs\Homedirs

I can see all other user name but not the Jim_Doe above. However, I
can directly map to by \\emc20cifs\Homedirs\Jim_Doe.

Strangely, using Ubuntu I can map to the \\emc20cifs\Homedirs and see
the Jim_Doe folder but not in Windows.

I manage to download the xcalcls.exe to take ownership of the
directory to a doman account. Still, I cannot see it in Windows
Explorer.

My question is what command line I can use to change the NTFS
permission of that folder to Full Control for the domain admins or at
least an domain admins account. Any help will be welcomed.
Pegasus [MVP]
2009-07-17 20:01:42 UTC
Permalink
Post by j***@johnnydang.net
I have a folde on a SAN (EMC NS20) with CIFS turning on. During the
initial creating the folde, I forget to assign the domain admins full
control (Read and Execute) and the user of Modify. When I use Windows
\\emc20cifs\Homedirs
I can see all other user name but not the Jim_Doe above. However, I
can directly map to by \\emc20cifs\Homedirs\Jim_Doe.
Strangely, using Ubuntu I can map to the \\emc20cifs\Homedirs and see
the Jim_Doe folder but not in Windows.
I manage to download the xcalcls.exe to take ownership of the
directory to a doman account. Still, I cannot see it in Windows
Explorer.
My question is what command line I can use to change the NTFS
permission of that folder to Full Control for the domain admins or at
least an domain admins account. Any help will be welcomed.
The standard command is cacls.exe. When you type cacls /? at the Command
Prompt then you will see all available switches, e.g.

cacls SomeFolder /e /t /g DC\JohnnyDang:F

Loading...