Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Fri, 5 Oct 2001 10:27:10 -0400 From: "David J. Wilson" To: cygwin AT cygwin DOT com Subject: Re: chmod/chown + ntsec doesn't work (was OpenSSH and RSA authentication problems) Message-ID: <20011005102710.A11689@drew.edu> References: <20011003103653 DOT A8662 AT drew DOT edu> <20011003214843 DOT A9463 AT drew DOT edu> <3BBC9402 DOT 789194A5 AT cportcorp DOT com> <20011004220251 DOT A10846 AT drew DOT edu> <3BBDB0C8 DOT DA04DAC8 AT cportcorp DOT com> <19416088393 DOT 20011005173758 AT logos-m DOT ru> <3BBDC155 DOT E3746B3A AT cportcorp DOT com> <3BBDC64A DOT 62A1E696 AT cportcorp DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3BBDC64A.62A1E696@cportcorp.com>; from peter.buckley@cportcorp.com on Fri, Oct 05, 2001 at 10:40:10AM -0400 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/