The Computer Oracle

Cygwin mkdir makes directory I don't have permissions to

--------------------------------------------------
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
and get $2,000 discount on your first invoice
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Underwater World

--

Chapters
00:00 Cygwin Mkdir Makes Directory I Don'T Have Permissions To
01:33 Accepted Answer Score 11
01:55 Thank you

--

Full question
https://superuser.com/questions/1089837/...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#permissions #cygwin #icacls

#avk47



ACCEPTED ANSWER

Score 11


The excess of DENY showed by icacls can be caused by the recent changes in cygwin dll (between 2.3 and current 2.5) . It took some round to be right and could have left files or directory with puzzling ACL.

To sanitize the ACLs, a -b switch was added to setfacl

setfacl -b foo

For reference https://cygwin.com/cygwin-ug-net/ov-new.html#ov-new2.4s