This is the mail archive of the
cygwin
mailing list for the Cygwin project.
File mode 0700 for windows-created files?
- From: Jim Garrison <jhg at jhmg dot net>
- To: cygwin at cygwin dot com
- Date: Fri, 02 Feb 2007 13:37:05 -0600
- Subject: File mode 0700 for windows-created files?
- Openpgp: id=70738D88; url=http://www.jhmg.net/contact.html
- Reply-to: jhg at acm dot org
Every file created by a non-Cygwin app appears in Cygwin
with mode 0700. I've read the documents pertaining to
ntfs permissions in Cygwin but don't see a way to configure
things so that Cygwin sees them as a more reasonable 0755
or 0644 (for non-executables). This is a nuisance since
when I upload such files to a Solaris system with scp,
even without -p, the files end up 0700 in Solaris as well.
If I chmod the files in Cygwin (to 0755) then then end up
0755 after uploading.
I have a valid /etc/passwd and /etc/group (generated by
mkpasswd and mkgroup).
Is it possible to configure Cygwin so it sees
non-Cygwin-created files as 0644 or 0755?
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/