Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > PowerShell

Vista - setting individual File / Folder security in PoSH

Reply
 
Old 10-05-2007   #1 (permalink)
Lobar Inc


 
 

setting individual File / Folder security in PoSH

What is the easiest way to set individual file / folder security in
powershell? Seems that Set-ACL is very clunky, as you have to copy security
complete. I have a requirement to change individual permissions.

My System SpecsSystem Spec
Old 10-05-2007   #2 (permalink)
/\/\o\/\/ [MVP]


 
 

RE: setting individual File / Folder security in PoSH

set-acl is not as bad as it looks as you can first retrieve the current acl
by get-ACL and then just change it and reapplyafter ,

you can find some examples here :

http://mow001.blogspot.com/2006/01/a...le-acl-in.html
http://mow001.blogspot.com/2006/01/m...h-for-fun.html

Greetings /\/\o\/\/

"Lobar Inc" wrote:
Quote:

> What is the easiest way to set individual file / folder security in
> powershell? Seems that Set-ACL is very clunky, as you have to copy security
> complete. I have a requirement to change individual permissions.
My System SpecsSystem Spec
Old 10-08-2007   #3 (permalink)
Lobar Inc


 
 

RE: setting individual File / Folder security in PoSH

Thanks for the info. I am having some trouble running the script. Is all of
the syntax correct for RTW 1.0?

Thanks again
Dennis

"/\/\o\/\/ [MVP]" wrote:
Quote:

> set-acl is not as bad as it looks as you can first retrieve the current acl
> by get-ACL and then just change it and reapplyafter ,
>
> you can find some examples here :
>
> http://mow001.blogspot.com/2006/01/a...le-acl-in.html
> http://mow001.blogspot.com/2006/01/m...h-for-fun.html
>
> Greetings /\/\o\/\/
>
> "Lobar Inc" wrote:
>
Quote:

> > What is the easiest way to set individual file / folder security in
> > powershell? Seems that Set-ACL is very clunky, as you have to copy security
> > complete. I have a requirement to change individual permissions.
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Vista Ultimate security over individual users Vista account administration
Individual Email Security... Live Mail
Setting Security for a Folder on Setup Vista security
Setting the sound volume for individual sounds? Vista General
is there command line to set folder and file security setting? PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46