delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/14/23:48:58

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Info: This message was accepted for relay by
smtp03.mrf.mail.rcn.net as the sender used SMTP authentication
X-Trace: UmFuZG9tSVa7pj75rrZLsekXoaugj5rK5y5b6uI5pQXI3g4Iin9biD7QQAUSs6Ce
Message-ID: <3E9B80DB.5000802@rfk.com>
Date: Mon, 14 Apr 2003 23:47:39 -0400
From: "Larry Hall (RFK Partners, Inc.)" <lhall AT rfk DOT com>
Reply-To: lhall AT rfk DOT com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: John Williams <jwilliams AT itee DOT uq DOT edu DOT au>
CC: cygwin AT cygwin DOT com
Subject: Re: chmod again
References: <b7fpp1$o56$1 AT main DOT gmane DOT org> <20030415023356 DOT GA48685509 AT hpn5170x> <b7fs6q$vfr$1 AT main DOT gmane DOT org> <3E9B752B DOT 6080502 AT rfk DOT com> <b7fsuk$1eg$1 AT main DOT gmane DOT org> <20030415031435 DOT GC8800 AT redhat DOT com> <b7ftmh$33t$2 AT main DOT gmane DOT org> <3E9B7BCD DOT 6030204 AT rfk DOT com> <b7fuan$33t$4 AT main DOT gmane DOT org>
In-Reply-To: <b7fuan$33t$4@main.gmane.org>

John Williams wrote:
> Larry Hall (RFK Partners, Inc.) wrote:
> 
>> Ah, this won't work.  You can't be running *any* Cygwin process when
>> setting this value.
> 
> 
> OK I killed all cygwin processes, set the env variable via the control 
> panel, and restarted the cygwin shell - same result.
> 
> Anything else I should try?

Well, a few but I can't guarantee anything.  Type in the following and
send the output here:

which chmod
cygcheck chmod

I tried 'ntea' here on 1.3.22 and it works fine for me on FAT (see below).
You can try replicating this yourself and see if it provides any insight
as to what's different there (beyond XP vs W2K - which is what I'm
running here).  /Floppy is just a mount point to a:.  That's the only
FAT partition I have that I was willing to sacrifice for this test. ;-)

D:\WINNT\SYSTEM32>set CYGWIN=ntea

D:\WINNT\SYSTEM32>d:\bin\bash.exe --login
lhall AT lhall->cd /floppy
/floppy
lhall AT lhall->ls
ls: EA DATA. SF: No such file or directory
DEBUG.LOG*    DLGDIAG.LOG  DLGSW1.EXE*   Dlgdiag.txt   msdevdde.reg
DLG1.LNK      DLGDIAG.PRE  DLGSW2.EXE*   Dlgli1.exe*   setConsole.reg
DLGCHBW.EXE*  DLGLICE.TXT  Dlgdiag.exe*  IomDisk.sys*
lhall AT enterprise-e->ls -l
ls: EA DATA. SF: No such file or directory
total 334
-rwxrwxrwx    1 lhall    None         8764 Apr 14 23:36 DEBUG.LOG*
lhall AT lhall->chmod 000 DEBUG.LOG
lhall AT lhall->ls -l
ls: EA DATA. SF: No such file or directory
total 334
----------    1 lhall    None         8764 Apr 14 23:42 DEBUG.LOG
lhall AT lhall->chmod 777 DEBUG.LOG
lhall AT lhall->ls -l
ls: EA DATA. SF: No such file or directory
total 334
-rwxrwxrwx    1 lhall    None         8764 Apr 14 23:42 DEBUG.LOG*

If this doesn't help, you're quickest solution may be converting your
partition to NTFS and using ntsec.


-- 
Larry Hall                              lhall AT rfk DOT com
RFK Partners, Inc.                      http://www.rfk.com
838 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019