Re: Changing permission recursively
- From: "Pegasus \(MVP\)" <I.can@xxxxxxx>
- Date: Thu, 4 May 2006 23:51:49 +1000
The /subdirectories switch instructs subinacl.exe to deal
with FOLDER names. However, "Mysubdir2\*.*" denotes
FILE names! Perhaps you see now why I keep asking
for the full command you use, in spite of your reluctance
to post it.
subinacl subdirectories "E:\Documents and Settings\Mysubdir1\Mysubdir2"
/setowner=PPP\Administrators
Furthermore I consider it a bad habit to run parameters
together. I know that it works for most of the time but a
much safer way is to place at least one space between
parameters.
"Zeepowlee" <nospam@xxxxxxxxxx> wrote in message
news:e3curr$5hn$1@xxxxxxxxxxxxxxxxxxxxxxxxxxx
The ***full*** command is:1337
subinacl/subdirectories "E:\Documents and
Settings\Mysubdir1\Mysubdir2\*.*"/setowner=PPP\Administrators
Done: 0, Modified: 0, Failed 0, Syntax Errors 0
Thanks for help
"Pegasus (MVP)" <I.can@xxxxxxx> wrote in message
news:Ok2TLxvbGHA.3872@xxxxxxxxxxxxxxxxxxxxxxx
Once more I ask that you let us see the ***full*** command,
not just a fragment.
"Zeepowlee" <nospam@xxxxxxxxxx> wrote in message
news:e3aulu$bsn$1@xxxxxxxxxxxxxxxxxxxxxxxxxxx
By the way,
if I run
cacls "mypath..."
I get:
BUILTIN\Administrators<OI><CI>C
BUILTIN\Administrators<OI><CI>F
<Account Domain not found><OI><CI>F
NT AUTHORITY\SYSTEM:<OI><CI>F
"Zeepowlee" <nospam@xxxxxxxxxx> wrote in message
news:e3ate5$bee$1@xxxxxxxxxxxxxxxxxxxxxxxxxxx
I run the command (1 space after subdirectories and no spaces after
*.*",
right?)
and I get
Elapsed Time: 00 00:00:00
Done: 0 Modified 0 Failed 0 Syntax errors 0
No file had changed ownership...
"Pegasus (MVP)" <I.can@xxxxxxx> wrote in message
news:e7NDgOrbGHA.3824@xxxxxxxxxxxxxxxxxxxxxxx
You must surround all long file/folder names with double quotes.
If you don't then the command will get very confused about
what is a file name and what is a switch.
subinacl /subdirectories "e:\documents and
settings\mysubdir1\mysubdir2\*.*"
/setowner=PPP\Administrators
"Zeepowlee" <nospam@xxxxxxxxxx> wrote in message
news:e3a795$3bc$1@xxxxxxxxxxxxxxxxxxxxxxxxxxx
subinacl /subdirectories e:\documents and
settings\mysubdir1\mysubdir2\*.*
/setowner=PPP\Administrators
I get:
LookupAccountName : setowner e:\documents : PPP\administrators :
settings,The
security ID structure is invalid
Current object e:\documents will not be processed
"Pegasus (MVP)" <I.can@xxxxxxx> wrote in message
news:Oc%23GgwkbGHA.1204@xxxxxxxxxxxxxxxxxxxxxxx
Let's have a look at the command you use.
"Zeepowlee" <nospam@xxxxxxxxxx> wrote in message
news:e38rvq$h6a$1@xxxxxxxxxxxxxxxxxxxxxxxxxxx
Ok now I am running it from the installation folder.
I get
Error 1337, the security ID structure is invalid.
In my Path I have long folder names, e.g.: Documents and
differentfolderswhile in the error message it appears just as "documents"then
May it be the root of the error?
THX
"Pegasus (MVP)" <I.can@xxxxxxx> wrote in message
news:%231tAISSbGHA.1228@xxxxxxxxxxxxxxxxxxxxxxx
In your previous thread Jim Howes recommended that you
use subinacl.exe to seize ownership of a folder and all its
subfolders. The answer is still the same. If this does not
work for you then you should post
a) the command you use, and
b) the messages you get.
The same goes when you use the GUI, as suggested by
John John.
"Zeepowlee" <nospam@xxxxxxxxxx> wrote in message
news:e34vt4$1r3$1@xxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi all,
some days ago I asked about changing ownership and permission
of
files,
after moving an HD on a different client.
I was suggested to change the owner of the file(s) to
administrator,
re-open properties and edit permission for administrator.
It works fine (thanks folks) but I'd like to do this for many
and
subfolders at once. It seems not working. It seems when
file
ownership.types
are included, the multiple selection do not work for changing
To change permission for all files and folders on the HD it'd
become
extremely time consuming.
Can anybody suggest a better way, if exists?
Thank you
.
- Follow-Ups:
- Re: Changing permission recursively
- From: Zeepowlee
- Re: Changing permission recursively
- References:
- Changing permission recursively
- From: Zeepowlee
- Re: Changing permission recursively
- From: Pegasus \(MVP\)
- Re: Changing permission recursively
- From: Zeepowlee
- Re: Changing permission recursively
- From: Pegasus \(MVP\)
- Re: Changing permission recursively
- From: Zeepowlee
- Re: Changing permission recursively
- From: Pegasus \(MVP\)
- Re: Changing permission recursively
- From: Zeepowlee
- Re: Changing permission recursively
- From: Zeepowlee
- Re: Changing permission recursively
- From: Pegasus \(MVP\)
- Re: Changing permission recursively
- From: Zeepowlee
- Changing permission recursively
- Prev by Date: Re: Open My Documents with "folders" option
- Next by Date: Sandboxing a domain controller with vmware
- Previous by thread: Re: Changing permission recursively
- Next by thread: Re: Changing permission recursively
- Index(es):
Relevant Pages
|