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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=wuzo3SzBji05Fsej 5ZTIMcf9tjGZl703Z1CIjjdxBZ2905i7nMqfYk15dCaf06129yf/Mw5I4hbK7Gzi v5BXVenpz2qpCKFGxLL6EksbSk+bSFKl3NEml5FzlvRvE63pZu1WP1lRI/Fs1WYu 78DU6hQCjg7KlJtR+vtDo2WaoR8= 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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=fAFK8V7Cj3VeEnLgcOc6vm h93so=; b=hhslBbBjeS4bfHsbqEG4a7E9ZtxQEa7WbhVn6wW3QRlqZdbPcrpfud lpx1EA8ltyfbpf4Pi+F//+pyhbvGTPEJadtq845V0WVs3QhbeUl9JLJTCDFIq8kT iohjpD1lzN5Je/m/LfMCZI1LcR6MmgP9ippAkfXDFGCHSA0OZxxXE= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-2.4 required=5.0 tests=BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=quotes, quoting, Everyone X-HELO: mout.gmx.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mail.com; s=dbd5af2cbaf7; t=1545060097; bh=LFw04SW5K7IUgJtOgnta1kwgLeegj/KaThFZggvmPL8=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=ywO5SUBp4Cb+cGp2w1k6hQ7LZR7NkLB04IlXFWzdhvAIAINw2iVp2yIbdyBLh9zXb 6tnApQmdwJLgIB7G2WjGqlyBlEw62iaVSsQntq9BuyQGMNAH8i4VGFVL68SX9tbuhm xVA6j0OyY4o6LdkQr+WG2CWjVIEzkt8BBroZinEI= X-UI-Sender-Class: 214d933f-fd2f-45c7-a636-f5d79ae31a79 Subject: Re: Permissions not set for 'other' when copying from Windows 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> From: john doe Message-ID: <710e2dea-09c3-36bd-5266-fed728228cc9@mail.com> Date: Mon, 17 Dec 2018 16:21:36 +0100 MIME-Version: 1.0 In-Reply-To: <20181217121503.GX28727@calimero.vinschen.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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). > > POSIX "other" == 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. > Thank you, it works: PS C:\> & icacls try.txt /grant "*S-1-1-0:(GA)" The powershell way (set-acl) might be easier if you don't want to fiddle with quoting and the call operator or simply use the command in cmd.exe (no '&' and no quotes). -- John Doe -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple