delorie.com/archives/browse.cgi | search |
On Fri, Oct 05, 2001 at 10:40:10AM -0400, Peter Buckley wrote: > Okay, welcome to the twilight zone. All of a sudden, > chmod started working. Now I can't reproduce the > problem anymore. I haven't changed anything tricky, > like opening additional applications on my machine > or anything. But, chown still doesn't work. And > we can still say that chmod doesn't work intermittently, > although I hope it never stops working again > randomly. Mine actually seems to work now: [vlastyn AT sundown:~] touch example_file [vlastyn AT sundown:~] ls -la example_file 0 -rw-r--r-- 1 vlastyn None 0 Oct 5 10:49 example_file [vlastyn AT sundown:~] chown system.system example_file [vlastyn AT sundown:~] ls -la example_file 0 -rw-r--r-- 1 SYSTEM SYSTEM 0 Oct 5 10:47 example_file [vlastyn AT sundown:~] chmod 777 example_file [vlastyn AT sundown:~] ls -al example_file 0 -rwxrwxrwx 1 SYSTEM SYSTEM 0 Oct 5 10:47 example_file* [vlastyn AT sundown:~] chmod 000 example_file [vlastyn AT sundown:~] ls -la example_file 0 ---------- 1 SYSTEM SYSTEM 0 Oct 5 10:47 example_file [vlastyn AT sundown:~] rm example_file rm: remove write-protected file `example_file'? y [vlastyn AT sundown:~] I wonder why it isn't working for you? I set CYGWIN=ntsec in my shell and as an environment variable in Windows 2000. Had to reboot for the latter to take effect... Dave -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |