Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <3D7B8E71.4060807@scytek.de>
Date: Sun, 08 Sep 2002 19:52:49 +0200
From: Volker Quetschke <quetschke@scytek.de>
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.1) Gecko/20020826
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: chmod problem
References: <Pine.CYG.4.44.0209080947090.644-100000@elvis.jpunix.com> <3D7B7400.9070702@scytek.de> <Pine.CYG.4.44.0209081158160.2288-100000@elvis.jpunix.com>
X-Enigmail-Version: 0.65.2.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: multipart/signed; micalg=pgp-sha1;
 protocol="application/pgp-signature";
 boundary="------------enig03261914D8E0825FAD837146"

--------------enig03261914D8E0825FAD837146
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

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

--------------enig03261914D8E0825FAD837146
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE9e45zPTXJup+KeF0RAlksAKCd6S3qt2mXQuoO9iKCXsG+T/W2LwCfZlhC
1g14jcUlVPKTyxMBwQws0zk=
=yKZk
-----END PGP SIGNATURE-----

--------------enig03261914D8E0825FAD837146--

