Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Fri, 5 Oct 2001 10:27:10 -0400
From: "David J. Wilson" <djwilson@drew.edu>
To: cygwin@cygwin.com
Subject: Re: chmod/chown + ntsec doesn't work (was OpenSSH and RSA authentication  problems)
Message-ID: <20011005102710.A11689@drew.edu>
References: <20011003103653.A8662@drew.edu> <20011003214843.A9463@drew.edu> <3BBC9402.789194A5@cportcorp.com> <20011004220251.A10846@drew.edu> <3BBDB0C8.DA04DAC8@cportcorp.com> <19416088393.20011005173758@logos-m.ru> <3BBDC155.E3746B3A@cportcorp.com> <3BBDC64A.62A1E696@cportcorp.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@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/

