This repository has been archived by the owner on Dec 1, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Give all permissions on files (777) on the smb mount
Allows any script files to be executed
- Loading branch information
6b2bd7d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what's the deal with this commit ? as several web apps are checking directory permissions and yet freeze when directories are using 777mode :(
i would higly recommend using dir_mode=0770 and file_mode=0660
that"s what we use in our own implementation of boot2docker-vagrant and it's working perfectly
6b2bd7d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This commit changing permissions on files from 666 to 777 only.
The reason is to allow for shell scripts or any binaries to be executed (e.g. custom project shell scripts, node/composer/etc. binaries local to the project).
Do you have examples of what's failing?
6b2bd7d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some webapps tied to security will fail if directories are mod 777, like packetfence for example.
if binary execution is needed, then best way is to manually set the execution permission, or so i think.
I deeply think a mountpoint with 777 permission is wrong ( no harm )