Modify permission settings on multiple folders quickly

Here is the issue. Folder full of users folders, the root folder has \domain\admin full control. Then when a user folder is created I have to remove inheritable rights so I can give permission to ust the \user and the domain admin so everyon...




Topic Options
#135801 - 01/27/04 12:55 AM Modify permission settings on multiple folders quickly
duhmez Offline
addict

Registered: 04/27/02
Posts: 583
Loc: Canada, West siiiiiiiiiide!
Here is the issue. Folder full of users folders, the root folder has \domain\admin full control. Then when a user folder is created I have to remove inheritable rights so I can give permission to ust the \user and the domain admin so everyone else must stay out. Now about users or so all with their permissions for their flder only.

I ran into an issue with a user accidentally deleting their data, and bckup failed.

now I want to create a group for many users, and deny the delete permission, but leave change permission. if they want to delete files they will have to go through an admin(which is fine.)

Since inheriable rights is disabled I will need to go through ech folder permission setting one at a time and specifiy evrything. or will I?

If so, so be it, but would there hve been a better way of setting this up originally? if I do a new server sometime I'd like to o it right up front. It seems really weak to have to have inheritance on or off completely, without the ability to have inheritance AND explicit. (back when it was set up deny delete could have been set and today all would be well, but since it hasn't..)

Doing al of them really isn't that big of a deal, just some time, but for the future i'd like to set it up better in the first place, which can account for a global change like this, if anyone has any ideas.

If again later i want to apply a common extra permission to all folders, I will have to go through and do it all over again otherwise......

Top
Advertisement
#135803 - 01/27/04 01:01 AM Re: Modify permission settings on multiple folders quickly
madacgrav Offline
newbie

Registered: 01/26/04
Posts: 37
the best way i can think of would be to use vbscripting, [url=www.technet.com]www.technet.com[/url] then click on the script center and it has a cool things you can do with scripting. Give me a little bit and i will see if i can find an example for you.

Top
#135804 - 01/27/04 01:05 AM Re: Modify permission settings on multiple folders quickly
madacgrav Offline
newbie

Registered: 01/26/04
Posts: 37
http://www.myitforum.com/articles/11/view.asp?id=2926

the above link could get you started on what you need. If you are not familar with scripting let me know and i will try to rewrite it for your needs and show you were you can edit it yourself for future use.

Top
#135806 - 01/27/04 01:35 AM Re: Modify permission settings on multiple folders quickly
duhmez Offline
addict

Registered: 04/27/02
Posts: 583
Loc: Canada, West siiiiiiiiiide!
Lets say, x:\users inherits and propogates. All the fodlers in users have inheritance currently disabled.


Let's say I want to add "\domain\joeshmoegroup" to have full control in all folders residing inside x:\users, but leave x:\users itself unmodified.

help with this would be very much appreciated.

Top
#135807 - 01/27/04 01:45 AM Re: Modify permission settings on multiple folders quickly
madacgrav Offline
newbie

Registered: 01/26/04
Posts: 37
i will work on it and i will try to have it ready tomorrow sometime. Sorry if this is to long but i will get it ASAP. smile

Top
#135819 - 01/27/04 05:44 PM Re: Modify permission settings on multiple folders quickly
madacgrav Offline
newbie

Registered: 01/26/04
Posts: 37
frown Dude i may have to eat my words. I can't find everything i need to get this to work. Normally microsoft has samples to do just about anything and you modify what you need from that (i am still new to scripting) and they don't have anything. I did find a sample script but you need a dll loaded that I am having difficulty getting my hands on. Basically i am saying don't count on me getting this but i am going to try my best to find out some more info for you (i recruited another friend who knows a little more about this) smile

Top
#135822 - 01/27/04 06:40 PM Re: Modify permission settings on multiple folders quickly
clutch Offline
Carpal Tunnel

Registered: 03/29/00
Posts: 3859
Check out CACLS.exe. It comes with the OS.

Top
#135829 - 01/27/04 09:53 PM Re: Modify permission settings on multiple folders quickly
madacgrav Offline
newbie

Registered: 01/26/04
Posts: 37
Alrighty, i found the script and what you need to do to run it. Email me and I will send you the vbs script and the dll file you need. I will rename it to a txt file when i send it.

Top
#135835 - 01/27/04 11:59 PM Re: Modify permission settings on multiple folders quickly
duhmez Offline
addict

Registered: 04/27/02
Posts: 583
Loc: Canada, West siiiiiiiiiide!
I don't have your email address, my email address is mlmeszarosNo Spam me@shaw.ca , justremove te no spamming part.

Thx!

Top
#135838 - 01/28/04 12:26 AM Re: Modify permission settings on multiple folders quickly
madacgrav Offline
newbie

Registered: 01/26/04
Posts: 37
sorry i thought i had it showing in my profile. I have sent you the email now.

Top


Forums
Windows Support Forums
Everything New Technology
Legacy OS
Hardware
Software
Games
Networking
Customization & Tweaking
Security

Linux Support Forums
Everything Linux
Linux Hardware
Linux Software
Linux Games
Linux Networking
Linux Customization & Tweaking
Linux Security

Apple Support Forums
Everything Apple
Recent Topics
Need an database for Dictionary
by shaanspecial
Today at 10:19 AM
Router keeps disconnecting internet
by rfboyd
12/06/09 04:18 PM
Program Running When Starting Computer
by cbk
12/05/09 11:05 AM
System Crashing Error 1000008e, 1000000a, 0000004e
by PapaPrem
11/30/09 06:01 PM
Starcraft Broodwar Campaign Crash Problem
by Lurker02
11/30/09 12:33 PM
Who's Online
0 Registered (), 185 Guests and 30 Spiders online.
Key: Admin, Global Mod, Mod
Forum Stats
91287 Members
24 Forums
58540 Topics
189044 Posts

Max Online: 1079 @ 03/12/08 01:36 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22