sbrl / Pepperminty-Wiki

A wiki in a box
https://peppermint.mooncarrot.space/
Mozilla Public License 2.0
184 stars 22 forks source link

Weird permissions when creating directories in save action #86

Closed sbrl closed 8 years ago

sbrl commented 8 years ago

I've just had Pepperminty Wiki create a directory with the permissions 0000. That isn't right! We should explicitly set the permissions on new directories to 0775.

Note that the execute permission is essential for listing a directory's contents.

sbrl commented 8 years ago

Found the problem! We pass null in the recursive directory creator, which set the permissions to 0000 instead of the default. We should change that.