Discussion:
cacls so one can put files in the root directory
(too old to reply)
d***@gmail.com
2012-08-11 14:57:55 UTC
Permalink
cacls \ /g everyone:f

Please help me ensure that this is the correct command line
to enable one to put ordinary files in the root of the hard
drive under Windows Seven.

cacls \ /g everyone:f

We had some trouble with this locking people out of their hard
drive. If someone has the wrong permissions on the "everyone:"f"
how can they undo it, e. g. they just made the root only
readable such as by using “everyone:r” or writeable by using “everyone:w”
JJ
2012-08-13 03:53:24 UTC
Permalink
Post by d***@gmail.com
cacls \ /g everyone:f
Please help me ensure that this is the correct command line
to enable one to put ordinary files in the root of the hard
drive under Windows Seven.
cacls \ /g everyone:f
We had some trouble with this locking people out of their hard
drive. If someone has the wrong permissions on the "everyone:"f"
how can they undo it, e. g. they just made the root only
readable such as by using "everyone:r" or writeable by using "everyone:w"
CACLS is both unsuitable and too dangerous for that purpose. You should use a
VBScript via WMI to change the root directory permission. Get the "WMI Code
Creator" from Microsoft to get you started.

Continue reading on narkive:
Loading...