This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: CHMOD not changing mode


Hi folks,
by the way, I saw this behaviour of chmod on my WinNT/Cygnus B20 also and it still drives me crazy. I tried to make a shell-script executable and though chmod did not complain, the mode did not change at all.
 
I recently read that the EADATA.SF-file is used by the Cygnus-Tools to store the stuff associated with a file. Could it be, that this file is normally not writable for a non-Admin user and therefore the attributes do not change ?? (Couldn't try it out at my computer yet, so just an idea ... :-)
 
Bye,
Holger Szillat
 
-----Ursprüngliche Nachricht-----
Von: Michael Hirmke <mh@mike.franken.de>
An: gnu-win32@cygnus.com <gnu-win32@cygnus.com>
Datum: Mittwoch, 9. Dezember 1998 13:50
Betreff: Re: CHMOD not changing mode

 
>Hi Brian,
>
>[...]
>>I am trying to change the mode of a file to 777 using "chmod -v 777
>>output.dat"
>>Chmod reports:
>>"mode of output.dat changed to 0777 (rwxrwxrwx)"
>>But the file mode does not change, as evidenced by an ls -l.
>>
>>Any tricks or simple solutions?
>
>Sure you are using the Cygnus chmod ?
>This one normally doesn't tell you that it has changed mode.
>
>>
>>Thanks,
>>
>>Brian
>
>Bye.
>Michael.
>--
>Michael Hirmke           | Telefon +49 (911) 557999
>Georg-Strobel-Strasse 81 | FAX     +49 (911) 557664
>90489 Nuernberg          | E-Mail  mailto:mh@mike.franken.de
>                         | WWW     http://aquarius.franken.de/
>-
>For help on using this list (especially unsubscribing), send a message to
>"gnu-win32-request@cygnus.com" with one line of text: "help".
>

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]