Questions tagged [cacls]
The cacls tag has no usage guidance.
17
questions
11
votes
4
answers
4k
views
Bypass the cacls confirmation prompt automatically?
I'm working on a custom settings script for Windows that will automate specific settings I want on a new Windows machine or installation. I grant access to some folders using cacls in my script, but ...
0
votes
1
answer
327
views
windows xp Professional restore Security Descriptors after cacls /t /e /p
Someone changed the permissions on a bunch of machines using cacls which fixed one problem but created a bigger one. I'm looking at ways to revert this but can't seem to get it back to the way it was.
...
0
votes
1
answer
889
views
Converting these chmod commands to cacls?
Perhaps someone could help me. I'd like to convert the following chmod commands to use on Windows 7 but my understanding is lacking.
/bin/chmod -R u+w,go-w,a+r somedirectory
/bin/chmod a+x ...
0
votes
1
answer
563
views
How can i gain access control for autorun.ini file in FAT32 USB storage
I want to remove autorun.ini file from my USB storage but unable to remove and I've tried many times by following procedure:
I:\> attrib autorun.ini -r -a -s -h
and I always get "access denied" ...
0
votes
2
answers
3k
views
How is access denied on Avira file ipmgui.exe?
I can't modify anything of the ACL of the ipmgui.exe file (or any file of Avira in the same directory).
It's not working at all with any cacls line tried, even under a system prompt! I'm not sure at ...
0
votes
1
answer
8k
views
"CACLS" is not recognized as an internal or external command, operable program or batch file
I have been using CACLS batch file many times and today it is not recognized. CACLS.EXE exist in C:\Windows\System32 and I have tried writing at command prompt:
CACLS * /E /T /C /G Administrators:F ...
2
votes
0
answers
335
views
How to grant access to a folder using cacls on Windows XP?
I have revoked a permission for a folder test using cacls as follows.
cacls test /p username:n
It worked properly. I tried to unlock it using following command.
cacls test /p username:f
Command ...
0
votes
1
answer
276
views
Permission denied for inclusion of file in windows
The following code:
include path/to/file
produces this error output:
... path/to/file: Permission denied
I ran:
cacls C: /t /g Everyone:R
so that the new permissions read:
&...
0
votes
1
answer
3k
views
Adding users to a directory recursively windows 7
I'm trying to set up my site on IIS, and it would seem I need to add the user group "USERS" to all files/folders within my site. This would require recursively adding a user to the root directory of ...
1
vote
0
answers
491
views
Give user create/read, but revoke delete/overwrite
A little background: I've got a citrix server with about 20 accounts that are used in a round robin fashion by various remote users to access a published application. This application allows users to ...
3
votes
1
answer
3k
views
Permissions on new created files (Windows 7 specific)?
Maybe a noob question, but how ALCs are determined on new created files (by running MyApp.exe)? I'd like to grant "users" full control on new files created inside C:\ProgramData\MyApp when launching ...
2
votes
3
answers
6k
views
Using cacls to set permission on executables
How exactly is it possible to restrict read and execute permissions of a file, and leave everything else in tact. So you can't open the file, although you can do things like move it and delete it etc.
5
votes
1
answer
8k
views
How can I change ACLs recursively using cacls.exe?
I want to restrict the access for everything inside the work directory to me and the system only. I tried this with the following command:
cacls.exe work /t /p 'PIXLA09\Maaartin:f' 'NT AUTHORITY\...
3
votes
1
answer
432
views
How to make rsync create constant ACLs under cygwin?
I used a cygwin command like
rsync -rtl --delete --delete-excluded /cygwin/c /mydisk
on Windows XP and ended up with a 94 line long completely insane ACL for /mydisk/c. None of the options rtl ...
14
votes
3
answers
30k
views
What are Windows ACLs?
What are Windows ACLs and why are they important?
0
votes
3
answers
2k
views
Strip my windows NTFS disk of all ACLs
When you purchase a windows PC nowadays, you don't actually "own" the whole disk...
There are so many ACLs on each folder that there are portions of it you actually can access only through a ...
2
votes
3
answers
19k
views
how to grant access to a folder using cacls
I have revoked a permission for a folder test using cacls.
cacls d:/test /D adsd14
Now I trying to reassign permission to this folder using the same command.
cacls d:/test /E /G adsd14:F
It ...