chmod problem

Volker Quetschke quetschke@scytek.de
Sun Sep 8 11:14:00 GMT 2002


Hi!
> -> Err, in which FAQ is this written? Just try chmod, it works!
>>From the FAQ:
> 
> Why doesn't chmod work?
> `ntsec' will allow UNIX permissions in Windows NT on NTFS file systems.

Yes, you have to have ntsec or ntea set in your CYGWIN environement variable
to be able to use chmod.

> -> As I said, use chmod. I am using gnupg on a win2k system.
> 
> I tried using chmod. Although I get no errors and in verbose mode it says
> the permissions are changed, a "ls -al" shows:
> 
> $ chmod 600 *
> 
> perry@ELVIS ~/.gnupg
> $ ls -la
> total 235
> drwxr-xr-x    2 perry    None         4096 Sep  8 09:46 .
> drwxr-xr-x    7 perry    None         8192 Sep  8 11:58 ..
> -rw-r--r--    1 perry    None         7793 Sep  8 09:41 options

It seems you don't have ntsec or ntea set in your CYGWIN variable.

As a workaround you can always use the keyword

no-permission-warning

in your gnupg options file, but I think the proper way is to use
CYGWIN=ntsec (plus your other options).

Bye
    Volker

-- 
PGP/GPG key  (ID: 0x9F8A785D)  available  from  wwwkeys.de.pgp.net
key-fingerprint 550D F17E B082 A3E9 F913  9E53 3D35 C9BA 9F8A 785D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 250 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20020908/8b33e090/attachment.sig>


More information about the Cygwin mailing list