• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Samba Drive

Net

Golden Member
Hello,

We use a samba drive for our webpage. It has worked great in the past.

Now for some reason every time someone creates a file or folder in public_html the permissions of that file or folder are set to rwx----

we have to manually change the permission to rwxr-x-r-x

How can we make it so every file and or folder created under public_html has the permissions 755 .. (rwx r-x r-x)
 
Check the umask for the users that are creating the files. The umask determines what the default permissions for the current process when creating files(folders are files too). You can check the umask value by typing "umask -S". It will probably look like this:

$ umask -S

u=rwx,g=,o=

To fix this, add this line to your shell login script:

$ umask 022

Then it should look like this:

$ umask -S

u=rwx,g=rx,o=rx

The process of determining the umask is overly complicated for such a simple task so just read the easy steps for doing it on wikipedia - http://en.wikipedia.org/wiki/Umask or read the man page for umask.
 
Back
Top