Replies: 8 comments 3 replies
How is that? Also take a look at this: https://deployer.org/docs/flow.html#deploywritable |
By default, it is set to
I've not specified any |
|
Files also do get |
|
I am cleaning up on issues. Fill free to reopen if needed. |
|
@GlennM I'm doing similar, without an "interactive shell" you need to set it in |
|
I'm actually trying to do the opposite of you and loosen up my umask to |
|
I ended up leaving my umask to RH deafult |
|
It seems that "ssh hostname command~" and ssh login has a different mechanism. I added a line below in /etc/pam.d/sshd
Now, any ssh connection respect umask and I get the permission as I expect. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Directories are created with
0775permissions (due toumask 002). These permissions on the directories prevent the execution of my PHP files. I get 500 Internal Server error when the directories have0775.I've tried to set
umask 022in~/.bash_profileon my server. This works when connecting via SSH directly (without Deployer).However, when using Deployer I keep getting
umask 0002instead ofumask 0022. Even when defining something likerun("source ~/.bash_profile")as a deployer task.I there something I am missing or are there perhaps better ways to get the permissions setup correctly?
Not sure if it's relevant, but I've symlinked
{{deploy_path}}/public_htmlto{{deploy_path}}/current/src/publicThanks!
All reactions