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=Wxxa5ciRgkLWa04y18/tuaf3QDjBXf/PmV8y4sJaTNJD5zeiI5L9O | |
01FhyyPWFXpR2OB5G0IdGq93tloUJcckBMIJMHK4yFwZG9VzH9HoA/eCPykNUI4n | |
wKkDFGfjM1UTM1eTUjRKEtTAsNgfVjKUPX14mBVMh7374lzh6GXfxc= | |
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=wiXNv26+UaT6S60ExINM6iKiV0U=; b=Vx3hQYOjT8s+ACYwaU8IjXVqng9q | |
XAJiFzlCOjZhHXB6/X1+9Jp3V2X5nEHNjtCbJu0vgEbOsMwDfuGQzfSUMuX8tyro | |
UKcjanN7t42ajevEbE+Jgjsfsr7a1kKoTffzfdkkax+80TXODbr9bmx43sP8uaD+ | |
W5kXFy+V/ZKFGu8= | |
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-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 |
X-HELO: | calimero.vinschen.de |
Date: | Fri, 21 Nov 2014 11:28:36 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: mkdir: This folder is shared with other people |
Message-ID: | <20141121102836.GB3810@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <CAAXzdLWtMbV2EVz3kGc_EgBeCBwAwJvmpxDYrtESLcsjqp0_BQ AT mail DOT gmail DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <CAAXzdLWtMbV2EVz3kGc_EgBeCBwAwJvmpxDYrtESLcsjqp0_BQ@mail.gmail.com> |
User-Agent: | Mutt/1.5.23 (2014-03-12) |
--eHrxbAcqt/LxKPZN Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Nov 20 22:24, Steven Penny wrote: > Tested on Windows 7 >=20 > 1. Create a Homegroup > 2. cd C:/Users >=20 > Now, if you run a command like this >=20 > mkdir C:/Users/foo >=20 > all is well. Depends on your POV. When using a DOS path, you're getting default Windows permissions, as documented. No special POSIX handling for incoming DOS paths. > However if you run a command such as this >=20 > mkdir foo >=20 > "foo" then has strange permissions. No, it hasn't. It has POSIX-compliant permissions. "foo" is a relative path, the CWD is always treated as POSIX path. The resulting absolute path is POSIX, so POSIX permission handling is utilized. > If you try to delete using Window Explorer, > you get this message >=20 > This folder is shared with other people > Folder: C:\Users\foo > Share Name: foo You have to forgive Explorer that it doesn't handle POSIX permissions more correctly. The permission settings are wrongly evaluated as permissions of a "shared" folder, since Vista AFAIR. > This behavior feels wrong because both cmd.exe and PowerShell do not do t= his. Weird comparison. CMD and PowerShell are not POSIX environments. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --eHrxbAcqt/LxKPZN Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJUbxPUAAoJEPU2Bp2uRE+gh2EQAIvnakGvRgSSK1LsxdbYDFae iGqeTZxsHrNVaG6aqqb/lD+K4/vrFjZ3C85ENifeQZXvOFjN0/YySgXnydFpEQ3F rPbK08IFFynGY3MvzuyBlwhttZbaAsZgfeRs4h3JApM7wbjQiE7cvEr0eUnK+VZI mF0jBHys0XAvhaRPe9HO6m3vZSIba0msIAR0/CZWicVXPA7eDL9noSHo4VfRtjkK XVEfD3JN5SWolFeqydf1V4yhElE3fiVLDjtWdXwltz95PqTkSu2YQW0AdrWRCSf4 ZyTf5hbCG6SQJgA3JwXsaIi17TplRd93dYt+xCE8oAve+nH7pAXIoUoZhNK6bot9 rzijVCFEcpH+xCFg6hLIhvyqQ3w/okL3wGuscKSarUrKvoXqb2NBPeTk3nsuuQ0i G1NxgnKax4VKr5TsuSVD0pyC52fxuqMa7sVFqTpxNOnFI6Ys05GnFZw/NV780P7h Lm4gLPXRalDccPDmppIfuvSMO9CE/tAfKiToppyNkRDMQ7F/7DeOjlEDPeXnNnCM rfJg3TkEOvYWkpUnR1pJDDyYBrG150rwF5bFD8WcnN2puDP7hK3J276RO+2iaEgk OZIyaEQZ0OVG7f5cpRNK3+DLmsJUgzInASwB9QyjXam3CT21ogXAaKTfkIXRFISI icSIlTkd4VwwweocvNU5 =+3SW -----END PGP SIGNATURE----- --eHrxbAcqt/LxKPZN--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |