setfacl can kill a drive
Steven Penny
svnpenn@gmail.com
Wed Apr 8 10:17:00 GMT 2015
I upgraded to the new Cygwin today, why is this command producing different
permissions? Moreover how do I get it to produce sane results?
$ cd /cygdrive/c
$ touch ~/alpha.txt ~+/alpha.txt
$ ls -l ~/alpha.txt ~+/alpha.txt
-rw-rwxr--+ 1 Steven None 0 Apr 8 05:06 /cygdrive/c/alpha.txt
-rw-r--r-- 1 Steven None 0 Apr 8 05:06 /home/Steven/alpha.txt
Also I discovered this
$ setfacl -b /cygdrive/c
After that you get this
C:\ is not accessible.
Access is denied.
Luckily this was in a virtual machine. Otherwise, can this be undone? This is
very dangerous, and I feel it should be protected similarly to
"rm --no-preserve-root"
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list