This is the mail archive of the
mailing list for the Cygwin project.
file permission problem
- From: Barry Gold <barrydgold at ca dot rr dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 15 Apr 2016 18:16:11 -0700
- Subject: file permission problem
- Authentication-results: sourceware.org; auth=none
I updated my cygwin to the latest 32-bit version (I hope), and I'm
having a problem with file permissions. Newly created files and
directories lack write permission even for the owner.
Here's some relevant stuff from my Cygwin shell window:
~ % umask
~ % touch x
~ % ll x
-rw-rw-r--+ 1 barry None 0 Apr 15 18:13 x
~ % ll .
drwxrwx---+ 1 barry None 0 Apr 15 18:13 ./
~ % cd bin
~/bin % ll .
drwxr-xr-x+ 1 barry None 0 Apr 15 18:12 ./
~/bin % touch x
~/bin % ll x
-r--r--r--+ 1 barry None 0 Apr 15 18:13 x
If I create a file in my home directory, the file permissions come out
correct. But if I create a file in my bin directory, the file
permissions are wrong -- write permission is missing, even for the owner
This is x86 cygwin on Windows 7 Home Premium Service Pack 1
On Beta, we'd have earrings for that. You could buy them in any jewelry store.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple