www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=XSZvxGvvhdPFmFEnUSccepfLA+p54mMerXTKFacHmijMftp83muoo | |
hKr0ZSbMsE0JcKN0K6zKiZigUFi3vAkSm30FUgXm1uymSZui1mrt2ONAiKRDGWye | |
MxVXTJd3LHghYnMG1LiPRhNYRmtGSbG5CrHpivKvBtA2UEeLVUVI/I= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=r2+KM5af/3bE0j2gTe7s9VXEDOM=; b=dC3OEsze9bAnXWuuNHDr/ASMXccx | |
DWm22gKLjLOp2VErMReJuJ+2NjaBX5tjAbqctrhOJwrd3MXLvwjjTPr/b2KsHDzV | |
PkOBNjNVKs1uj4XyS44C4dvDlawbGcJ8O7cxzZ6DsxFX4ImmP0Zatn01u5N1dLtX | |
beJGO/GcH7MW+xM= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
Authentication-Results: | sourceware.org; auth=none |
X-Spam-SWARE-Status: | No, score=-100.9 required=5.0 tests=BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy= |
X-HELO: | mout.kundenserver.de |
Date: | Mon, 17 Dec 2018 16:45:37 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Permissions not set for 'other' when copying from Windows |
Message-ID: | <20181217154537.GA28727@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <954f892e-786e-57e2-44d1-3d42eed28438 AT mail DOT com> <20181217121503 DOT GX28727 AT calimero DOT vinschen DOT de> <710e2dea-09c3-36bd-5266-fed728228cc9 AT mail DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <710e2dea-09c3-36bd-5266-fed728228cc9@mail.com> |
User-Agent: | Mutt/1.9.2 (2017-12-15) |
--V7BlxAaPrdhzdIM1 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Dec 17 16:21, john doe wrote: > On 12/17/2018 1:15 PM, Corinna Vinschen wrote: > > On Dec 17 13:06, john doe wrote: > >> Hi, > >> > >> I'm trying to understand why a copied file from 'C:\' into > >> /home/user/try doesn't have the permissions set for 'other' (see below= ). > >=20 > > POSIX "other" =3D=3D Windows "Everyone". Windows default permissions > > typically don't give permissions to "Everyone". Thus POSIX "other" > > has no permissions by default after copying such a file. > >=20 >=20 > Thank you, it works: >=20 > PS C:\> & icacls try.txt /grant "*S-1-1-0:(GA)" Just FTR: You can do this in Cygwin the POSIX way: chmod o+r try.txt combined with -R for recursive tasks and with find(1) loops for more complex scenarios. Corinna --=20 Corinna Vinschen Cygwin Maintainer --V7BlxAaPrdhzdIM1 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlwXxKEACgkQ9TYGna5E T6CtqhAAo6+MoiV8CcscDEDW9UbWXTJb/YoR2Ow/zGTUt/VhcBUBQ8ebV5DotXr3 mdPPxGM4eqKmdeSSlu0w5daW4MIDI/rpxCZfQ0Y7qCN4NXtrIKRt42LCTnGbArx9 C4CXab6LEIB0dyB2SuR8xFabJzBtzEiKyLb7+LifwRuMJ0f8m2V0UDstDwJdrCBa D//x0pA8XTWmxrFM1W+smgALYkLNfwEC+1oHoFOsg/gODZ3o/q3JHG1WFTiRXhce XzgTx9BUHn2apurfR3bQh4tNmw/Cq0JUHwDP0b4X/S6OmFH+YvurQIFp9r4I7vLP kIrZZVyFVXX/brMnbMtqnzdT9OJxcvkyN2gZe5ak1v4FccOeNdn8Eo9625sWRcXX EL21+fsHmiS2tG1lpgIqKcRytdMVt7hjboEsnxgw9PGGh40qhzmn81BlF5WF2e1z B8URuNw12Xuxeb7muVIaNi+WsZ9e3h24121QpJYKJCDh5RXv+n6DrVpETMYtzudw 1snZK+yGEBDiJUdu9JY95433ov/2X7dktwiGhrh4Vw0/IbYGMswPIdFs1g3lSRn6 l9gxC00xK6XoP3tTPt8d8Jlxge7Fa/R78JVuo1iCMjzbVfEs/aoGsM2mJsYvxijT 7pgZ9h1D1UNigbOl2q1HLbyCsBiUbAqLNaLCdNUFwtkKOji4IM0= =6qH3 -----END PGP SIGNATURE----- --V7BlxAaPrdhzdIM1--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |