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: FW: CHMOD not changing mode


At 04:14 PM 12/9/98 +0100, Bernard DAUTREVAUX wrote:
>> -----Original Message-----
>> From:	Michael Hirmke [SMTP:mh@mike.franken.de]
>> Sent:	Tuesday, December 08, 1998 21:31
>> To:	gnu-win32@cygnus.com
>> Subject:	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.
>
>Effectively, cygwin chmod does not print anything, but does not DO anything 
>either:
>
>bash-2.02$ ls -l mccR.c
>-rw-r--r--   1 544      IngTnieu      432 Dec  9 11:24 mccR.c
>bash-2.02$ chmod a+rwx mccR.c
>bash-2.02$ ls -l mccR.c
>-rw-r--r--   1 544      IngTnieu      432 Dec  9 11:24 mccR.c
>bash-2.02$ uname -a
>CYGWIN_NT-4.0 PC35 20.1 (0.3/1/1) 1998-12-3 20:39:18 i586 unknown
>bash-2.02$ type chmod
>chmod is hashed (/Cygnus/Cygwin-B20/H-i586-cygwin32/bin/chmod)
>bash-2.02$ cygcheck /Cygnus/Cygwin-B20/H-i586-cygwin32/bin/chmod.exe
>/Cygnus/Cygwin-B20/H-i586-cygwin32/bin/chmod.exe
>  /Cygnus/Cygwin-B20/H-i586-cygwin32/bin\cygwin1.dll
>    C:\WINNT\System32\advapi32.dll
>      C:\WINNT\System32\ntdll.dll
>      C:\WINNT\System32\KERNEL32.dll
>      C:\WINNT\System32\USER32.dll
>        C:\WINNT\System32\GDI32.dll
>      C:\WINNT\System32\RPCRT4.dll
>
>Any idea someone?
>
>Regards,
>	
>	Bernard,


See the mail archives or the mini-FAQ for the "ntea" setting...


Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      (781) 239-1053
8 Grove Street                          (781) 239-1655 - FAX
Wellesley, MA  02482-7797               http://www.rfk.com
-
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]