This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: chmod/chown + ntsec doesn't work (was OpenSSH and RSA authentication problems)
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@sundown:~] touch example_file
[vlastyn@sundown:~] ls -la example_file
0 -rw-r--r-- 1 vlastyn None 0 Oct 5 10:49 example_file
[vlastyn@sundown:~] chown system.system example_file
[vlastyn@sundown:~] ls -la example_file
0 -rw-r--r-- 1 SYSTEM SYSTEM 0 Oct 5 10:47 example_file
[vlastyn@sundown:~] chmod 777 example_file
[vlastyn@sundown:~] ls -al example_file
0 -rwxrwxrwx 1 SYSTEM SYSTEM 0 Oct 5 10:47 example_file*
[vlastyn@sundown:~] chmod 000 example_file
[vlastyn@sundown:~] ls -la example_file
0 ---------- 1 SYSTEM SYSTEM 0 Oct 5 10:47 example_file
[vlastyn@sundown:~] rm example_file
rm: remove write-protected file `example_file'? y
[vlastyn@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/