changing permissions in winxp

Kibbo86

Senior member
Oct 9, 2005
347
0
0
Topic summary really says it all. I was helping a friend with their computer, trying to manually uninstall a piece of software (following the manufacturer's instructions) and received a permissions error. This was after booting into safe mode, which I thought was analagous to single-user mode in linux. Very confusing.

Just wondering if there is a way to adjust permissions for a folder with a single command the way there is in linux.
 

Markbnj

Elite Member <br>Moderator Emeritus
Moderator
Sep 16, 2005
15,682
14
81
www.markbetz.net
As far as I recall, just go to the folder in question, right click, click the properties item, click the security tab, change the settings, and tell it to apply the settings to all files and subfolders.
 

phisrow

Golden Member
Sep 6, 2004
1,399
0
0
I think Markbnj is correct.

Also, I think that this may be the first thread I've seen about somebody having trouble because Windows won't act like *nix. Not to minimize your problem, or anything; but it kinda warms my heart, after seeing so much of the reverse.
 

stash

Diamond Member
Jun 22, 2000
5,468
0
0
There are also several command line tools to change permissions..cacls, xcalcs and subinacl
 

Smilin

Diamond Member
Mar 4, 2002
7,357
0
0
use that advanced button in the permissions tab. :)

also the /T switch with the cacls command is your friend. (the /E switch might be a better friend unless you know what you're doing :p )

 

cleverhandle

Diamond Member
Dec 17, 2001
3,566
3
81
What I usually do to get sane permissions on manually installed programs - modify to your taste...

1) Find the top-level folder for the program - right-click->Sharing and Security->Security

2) Advanced->Owner. Change owner to Administrators, check "Replace owner on subcontainers and objects.", apply.

3) ->Permissions Tab. Uncheck then recheck "Inherit from parent". Apply. Remove all permissions that are not inherited. Apply.

4) Check "Replace permissions on child objects" box. Apply.


I'm sure there's a better way than this. If somebody who knows Windows command-line tools would like to contribute, that would be great.
 

Swampster

Senior member
Mar 17, 2000
349
0
0
I think what you are missing is that you have to go into Folder Options, click the View tab, scroll down to the bottom, and unselect Simple File Sharing. Then you will get all the options you are looking for
 

Smilin

Diamond Member
Mar 4, 2002
7,357
0
0
Originally posted by: Swampster
I think what you are missing is that you have to go into Folder Options, click the View tab, scroll down to the bottom, and unselect Simple File Sharing. Then you will get all the options you are looking for

/slaps forehead


I always forget that people forget that.
 

Kibbo86

Senior member
Oct 9, 2005
347
0
0
Originally posted by: phisrow
I think Markbnj is correct.

Also, I think that this may be the first thread I've seen about somebody having trouble because Windows won't act like *nix. Not to minimize your problem, or anything; but it kinda warms my heart, after seeing so much of the reverse.

It's funny, I've been using linux for less than a year now, but it just seems that I like poking around and exploring the it's features much more than with windows.

The only thing I miss about my windows install is the ability to try to break (and then fix) my machine the same way my friends do.

Thanks a lot for all the help guys.
 

Kappo

Platinum Member
Aug 18, 2000
2,381
0
0
You can also check out the attrib command for changing it to/from read-only.