documentation icon indicating copy to clipboard operation
documentation copied to clipboard

Update install.md

Open glowrocks opened this issue 2 years ago • 4 comments

Added a note regarding access to the live folder by nginx user. (this lack of access bit me :-)

glowrocks avatar Apr 18 '23 01:04 glowrocks

@glowrocks is attempting to deploy a commit to the Mastodon Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Apr 18 '23 01:04 vercel[bot]

That shouldn't be needed… nginx should not need write access to anything, and it should not need read access to /home/mastodon, only traversal access. So 711 should be enough.

ClearlyClaire avatar Apr 18 '23 07:04 ClearlyClaire

So 711 should be enough.

Correct. I've confirmed that is correct. What's the next step? (I've never done this before.)

glowrocks avatar Apr 18 '23 14:04 glowrocks

That shouldn't be needed… nginx should not need write access to anything, and it should not need read access to /home/mastodon, only traversal access. So 711 should be enough.

Wanted to add, on Ubuntu 22.04, adduser leaves the home dir w/no access for other. So while 755 is too permissive, the default of 750 is what causes the problem.

glowrocks avatar Apr 18 '23 15:04 glowrocks