delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=3.6 required=5.0 tests=AWL,BAYES_00,BOTNET,RCVD_IN_DNSWL_NONE,TW_MK,TW_YG |
X-Spam-Check-By: | sourceware.org |
Message-id: | <4F3BF932.9080201@cygwin.com> |
Date: | Wed, 15 Feb 2012 13:28:02 -0500 |
From: | "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com> |
Reply-to: | cygwin AT cygwin DOT com |
User-Agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 |
MIME-version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: File permissions problems with cp in Windows 7 |
References: | <E1936B3CBF336B4D93C1B2F74E37126804981A AT DB3PRD0502MB101 DOT eurprd05 DOT prod DOT outlook DOT com> |
In-reply-to: | <E1936B3CBF336B4D93C1B2F74E37126804981A@DB3PRD0502MB101.eurprd05.prod.outlook.com> |
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 |
On 2/15/2012 12:09 PM, Tom Quarendon wrote: > I'm hoping you can help me understand a problem that's been plaguing me > for some time. > I'm on a recent version of Cygwin (cygcheck -V reports 1.7.9) and I'm on > Windows 7. I believe I have set up my /etc/passwd and /etc/group using > mkpasswd and mkgroup in the appropriate way. If it makes a difference I am > logged on to my machine as a domain user. > > So I have a file created externally to Cygwin, just normal notepad for > example. Let's say this is called hello.txt. <snip> > Now I can "fix" this by just doing a chmod -R 755 or some such, but this seems so be papering over the real issue. > Do I expect the permissions on the root of my C drive to just be ---------? > Have I set up Cygwin wrong, or rather missed a set up step? I can't reproduce this on 1.7.9 using a domain user following the steps you outlined above. Perhaps there's something hidden in your cygcheck output and passwd and group files that would help? The only thing that occurred to me is that my user is part of the local administrators group. I'm not sure yours is. You might investigate that. Or try with a local user (with and without admin privs). Alternatively, if you only care about Windows permissions and not POSIX ones that Cygwin prefers, you can use the "noacl" to tell Cygwin to not use POSIX permissions on any part of the file-system. See <http://cygwin.com/cygwin-ug-net/using.html#mount-table> for more details. I recommend this option only as a last resort of course. -- Larry _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |