new/init | Set permissions of new files and folders to 0644
pieterclaerhout opened this issue · 1 comments
pieterclaerhout commented
They are currently set to 0755
, but that makes them executable which isn't needed.
Setting it to 0644
fixes that.
644 means that files are readable and writeable by the owner of the file and readable by users in the group owner of that file and readable by everyone else.
755 is the same thing, it just has the execute bit set for everyone. The execute bit is needed to be able to change into the directory. This is why directories are commonly set to 755.
pieterclaerhout commented
Actually, we only set it for directories, so no change is needed.