Replies: 8 comments 3 replies
-
How is that? Also take a look at this: https://deployer.org/docs/flow.html#deploywritable |
Beta Was this translation helpful? Give feedback.
-
By default, it is set to
I've not specified any |
Beta Was this translation helpful? Give feedback.
-
Files also do get |
Beta Was this translation helpful? Give feedback.
-
I am cleaning up on issues. Fill free to reopen if needed. |
Beta Was this translation helpful? Give feedback.
-
@GlennM I'm doing similar, without an "interactive shell" you need to set it in |
Beta Was this translation helpful? Give feedback.
-
I'm actually trying to do the opposite of you and loosen up my umask to |
Beta Was this translation helpful? Give feedback.
-
I ended up leaving my umask to RH deafult
|
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
Directories are created with
0775
permissions (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 022
in~/.bash_profile
on my server. This works when connecting via SSH directly (without Deployer).However, when using Deployer I keep getting
umask 0002
instead 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_html
to{{deploy_path}}/current/src/public
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions