wget seemingly modifies file access permissions on XP

Corinna Vinschen corinna-cygwin@cygwin.com
Wed Mar 30 16:44:00 GMT 2016


On Mar 30 18:28, mihau wrote:
> >Remove your /etc/passwd and /etc/group files.  Don't regeneate them,
> >they are not required anymore (https://cygwin.com/cygwin-ug-net/ntsec.html)
> >Then try again.
> 
> unfortunately, this did not help, not even after a reboot.

Did not help with what?  Don't try to second guess the created ACL,
please.  What command do you call, and how does the ACL look afterwards?
Please send both, icacls and getfacl output of the created ACL.

Btw., if you wget a file it's *supposed* to be non-executable.  Assuming
your umask is 0022, the file will be create with 0644 permissions.  The
default ACL created in this case explicitely disables execution for the
admin user if the admin user is part of the ACL.  Just run `chmod +x'
afterwards if that's the only problem.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20160330/16f90727/attachment.sig>


More information about the Cygwin mailing list