delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/07/19/07:44:01

X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
References: <469F4C7D DOT 9080007 AT gmail DOT com>
Subject: RE: Permission umask problem?
Date: Thu, 19 Jul 2007 12:43:24 +0100
Message-ID: <005f01c7c9fa$050e51e0$2e08a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <469F4C7D.9080007@gmail.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id l6JBhnbo030916

On 19 July 2007 12:35, Simón wrote:

> I´m having a problem with the permission masks applied to my files in
> cygwin. For example, if I untar a file with php files, my cygwin system
> writes them as:
> 
> -rwx------
> 
> If I run the same command on a Unix system the mask is:
> 
> -rw-r--r--
> 
> It happens with all the files, not only php ones.

  That's a relief!

>  I´ve checked the umask
> command, and both are the same in the 2 systems.
> 
> 0022
> 
> Any idea? Thanks in advance, Simon.

  Show us an example of a command line you're using.  Also check whether this
is perhaps some kind of inherited windoze ACL from the directory you're
unpacking in by trying it in another dir such as /tmp.  If that doesn't work,
let's see your cygcheck output as described at

> Problem reports:       http://cygwin.com/problems.html


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
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