Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Vista = Access Rights HELL

Reply
Thread Tools Display Modes

Vista = Access Rights HELL

 
 
grz01@spray.se
Guest
Posts: n/a

 
      12-15-2007

Can somebody please explain how to get around the idotic access rights
in Vista.

Im trying to remove the files sort.exe and find.exe from the Windoze/
system32 directory,
because they clash with cygwin binaries in the PATH, that make a much
more clever replacement.

I have disabled the UAC, I am logged in as Administrator, I supplied
for the admin credentials requested... and still this f*ckin horrible
OS wont let me delete the files!

Aaaaarghh....!

TIA,
grz01
 
Reply With Quote
 
 
 
 
Andrew McLaren
Guest
Posts: n/a

 
      12-15-2007
<> wrote...
> Can somebody please explain how to get around the idotic access rights
> in Vista.
> Im trying to remove the files sort.exe and find.exe from the Windoze/
> system32 directory,
> because they clash with cygwin binaries in the PATH, that make a much
> more clever replacement.


You can't :-) They are operating system files and are intended to remain
part of the system. In Vista, security has been strengthened so viruses etc
cannot hijack the system by overwriting system files.

The canonical solution would be to rename your Cygwin files to something
like csort.exe and cfind.exe, to avoid name conflicts (and modify your
scripts accordingly).

But if you really, really want to delete these files .... the issue is that
they are not owned by the Administrator. They are owned by the
"TrustedInstaller" user context. So, even if you are the Administrator, you
cannot delete these files, because you don't own them. You need to change
ownership from TrustedInstaller to Administrator (or whatever). Then delete
them.

I still don't think it's a good idea, but there you go ...

--
Andrew McLaren
amclar (at) optusnet dot com dot au


 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Search / access rights ? Kris Windows Vista General Discussion 1 04-05-2008 07:42 PM
How to CreateNamedPipe with FILE_CREATE_PIPE_INSTANCE access rights kalpesh Windows Vista Security 3 07-05-2007 04:35 PM
How to CreateNamedPipe with FILE_CREATE_PIPE_INSTANCE access rights kalpesh Windows Vista General Discussion 1 07-04-2007 09:43 PM
Administrator access rights BarryD Windows Vista Administration 1 06-02-2007 02:17 PM
Default user access rights in Vista Dan Windows Vista General Discussion 9 03-24-2006 11:08 PM



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 47 48 49 50 51 52 53 54 55 56 57 58 59