On 4/26/2012 4:33 PM, Achim Gratz wrote: > > I've recently had a test fail because I started it with administrator > privileges (via the Administrator group). The test tried to write to a > file that it set read-only before and of course as an administrator it > was still able to write to it. So the test fail wasn't really that > important, but I can't seem to find a way to drop administrator > privileges once I have a shell opened with "run as administrator". Is > there a command that will shed those rights for a sub-shell?
The "cygdrop.exe" utility is part of the cygutils package. -- Chuck -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple