Setting umask for a user with no shell?

Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
How can I set the umask for the Apache user to have files default to -rwxrwx--- ?
I have an application that wants one directory to have either 0750 or 0770 permissions, which is great if itâÂÂs local, but if I try mount the directory on a CIFS share, chmod has no effect on the directory mount point permissions.
IâÂÂve read that if the umask is set differently, it will mount properly - just am unsure how to do that.
permissions apache-httpd chmod umask
add a comment |Â
up vote
0
down vote
favorite
How can I set the umask for the Apache user to have files default to -rwxrwx--- ?
I have an application that wants one directory to have either 0750 or 0770 permissions, which is great if itâÂÂs local, but if I try mount the directory on a CIFS share, chmod has no effect on the directory mount point permissions.
IâÂÂve read that if the umask is set differently, it will mount properly - just am unsure how to do that.
permissions apache-httpd chmod umask
1
You will need to set the umask for whatever software is running as the apache user (presumably Apache httpd, or something running thereunder?). Adding Windows sharing protocols compounds the troubles.
â thrig
Oct 23 '17 at 2:10
@thrig - the share I have available is presented as CIFS (by a *nix box somewhere) - NFS is not an option here
â warren
Oct 23 '17 at 12:09
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
How can I set the umask for the Apache user to have files default to -rwxrwx--- ?
I have an application that wants one directory to have either 0750 or 0770 permissions, which is great if itâÂÂs local, but if I try mount the directory on a CIFS share, chmod has no effect on the directory mount point permissions.
IâÂÂve read that if the umask is set differently, it will mount properly - just am unsure how to do that.
permissions apache-httpd chmod umask
How can I set the umask for the Apache user to have files default to -rwxrwx--- ?
I have an application that wants one directory to have either 0750 or 0770 permissions, which is great if itâÂÂs local, but if I try mount the directory on a CIFS share, chmod has no effect on the directory mount point permissions.
IâÂÂve read that if the umask is set differently, it will mount properly - just am unsure how to do that.
permissions apache-httpd chmod umask
asked Oct 22 '17 at 23:05
warren
6641723
6641723
1
You will need to set the umask for whatever software is running as the apache user (presumably Apache httpd, or something running thereunder?). Adding Windows sharing protocols compounds the troubles.
â thrig
Oct 23 '17 at 2:10
@thrig - the share I have available is presented as CIFS (by a *nix box somewhere) - NFS is not an option here
â warren
Oct 23 '17 at 12:09
add a comment |Â
1
You will need to set the umask for whatever software is running as the apache user (presumably Apache httpd, or something running thereunder?). Adding Windows sharing protocols compounds the troubles.
â thrig
Oct 23 '17 at 2:10
@thrig - the share I have available is presented as CIFS (by a *nix box somewhere) - NFS is not an option here
â warren
Oct 23 '17 at 12:09
1
1
You will need to set the umask for whatever software is running as the apache user (presumably Apache httpd, or something running thereunder?). Adding Windows sharing protocols compounds the troubles.
â thrig
Oct 23 '17 at 2:10
You will need to set the umask for whatever software is running as the apache user (presumably Apache httpd, or something running thereunder?). Adding Windows sharing protocols compounds the troubles.
â thrig
Oct 23 '17 at 2:10
@thrig - the share I have available is presented as CIFS (by a *nix box somewhere) - NFS is not an option here
â warren
Oct 23 '17 at 12:09
@thrig - the share I have available is presented as CIFS (by a *nix box somewhere) - NFS is not an option here
â warren
Oct 23 '17 at 12:09
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f399796%2fsetting-umask-for-a-user-with-no-shell%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
You will need to set the umask for whatever software is running as the apache user (presumably Apache httpd, or something running thereunder?). Adding Windows sharing protocols compounds the troubles.
â thrig
Oct 23 '17 at 2:10
@thrig - the share I have available is presented as CIFS (by a *nix box somewhere) - NFS is not an option here
â warren
Oct 23 '17 at 12:09