Re: ls not in sync with chmod (weird problems with file permissions)

2015-02-10 Thread Corinna Vinschen
On Feb 9 22:50, diod lightbulb wrote: > On 9 February 2015 at 21:28, Thomas Wolff wrote: > > Am 09.02.2015 um 16:37 schrieb diod lightbulb: > >> > >> ... > >> > >> 1- For pre-existing files/directories under /cygdrive/d and /cygdrive/e > >> All my file permissions that were correctly reported by

Re: ls not in sync with chmod (weird problems with file permissions)

2015-02-10 Thread Corinna Vinschen
On Feb 9 22:00, diod lightbulb wrote: > However, I'd like to ask somthing else, is there a way to make newly > created files outside my home to respect my umask? I just tried touch > still buggy; ll stillbuggy reports -rw-rwxr--+ while stat -c " %a %u > %g" stillbuggy gives back " stillbuggy

Re: ls not in sync with chmod (weird problems with file permissions)

2015-02-09 Thread Andrey Repin
Greetings, diod lightbulb! > All I can do now is apparently to run all my pre-existing files thru > setfacl -b (I like to keep my files with 644 permissions) followed by > chmod. I just have to figure out how to retain the execution bit for > the few select executables that need it. > However, I'

Re: ls not in sync with chmod (weird problems with file permissions)

2015-02-09 Thread diod lightbulb
On 9 February 2015 at 21:28, Thomas Wolff wrote: > Am 09.02.2015 um 16:37 schrieb diod lightbulb: >> >> ... >> >> 1- For pre-existing files/directories under /cygdrive/d and /cygdrive/e >> All my file permissions that were correctly reported by ls -l as >> rw-r--r-- became all of a sudden -rw-rwx

Re: ls not in sync with chmod (weird problems with file permissions)

2015-02-09 Thread diod lightbulb
On 9 February 2015 at 17:26, Corinna Vinschen wrote: > On Feb 9 16:37, diod lightbulb wrote: >> HI all, >> >> Maybe this is a regression. This is linked to the problem reported in >> this other thread https://cygwin.com/ml/cygwin/2015-02/msg00100.html . >> I took notice of >> it right after I upd

Re: ls not in sync with chmod (weird problems with file permissions)

2015-02-09 Thread Thomas Wolff
Am 09.02.2015 um 16:37 schrieb diod lightbulb: ... 1- For pre-existing files/directories under /cygdrive/d and /cygdrive/e All my file permissions that were correctly reported by ls -l as rw-r--r-- became all of a sudden -rw-rwxr--+ ??? The same for directories where all previously 755 dirs cam

Re: ls not in sync with chmod (weird problems with file permissions)

2015-02-09 Thread Corinna Vinschen
On Feb 9 16:37, diod lightbulb wrote: > HI all, > > Maybe this is a regression. This is linked to the problem reported in > this other thread https://cygwin.com/ml/cygwin/2015-02/msg00100.html . > I took notice of > it right after I updated cygwin (setup.exe 2.867) today. Does https://cygwin.com

ls not in sync with chmod (weird problems with file permissions)

2015-02-09 Thread diod lightbulb
HI all, Maybe this is a regression. This is linked to the problem reported in this other thread https://cygwin.com/ml/cygwin/2015-02/msg00100.html . I took notice of it right after I updated cygwin (setup.exe 2.867) today. My umask is 022. The drives are NTFS. CYGWIN is set to ntsec even if I jus