delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/02/02/14:37:38

X-Spam-Check-By: sourceware.org
Message-ID: <45C392E1.2040307@jhmg.net>
Date: Fri, 02 Feb 2007 13:37:05 -0600
From: Jim Garrison <jhg AT jhmg DOT net>
Reply-To: jhg AT acm DOT org
User-Agent: Thunderbird 1.5.0.9 (Windows/20061207)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: File mode 0700 for windows-created files?
OpenPGP: id=70738D88; url=http://www.jhmg.net/contact.html
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

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019