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