Permission umask problem?

Dave Korn dave.korn@artimi.com
Thu Jul 19 11:43:00 GMT 2007


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/



More information about the Cygwin mailing list