Vista = Access Rights HELL

G

grz01

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
 
A

Andrew McLaren

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 ...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top