Wrong permissions on volumes
Open
- Dominant language
- Ruby
- Stars
- 14.6k
- Forks
- 752
- Avg merge
- 4d 23h
- Merged PRs (30d)
- 8
Description
Hey!
There are problem with permissions in kamal. I've added volume
```yaml
ssh:
user: alec
####################
volumes:
- ./storage:/rails/public/uploads:rw
```
in my `deploy.yml` file and got a problem with permissions:
As you see - I've configured kamal to use user `alec`, but volume was created by/for `root`. It cause problems like this:
Contributor guide
Research direction
Start with the volume configuration shown in deploy.yml and trace how Kamal creates and mounts that volume when ssh.user is set to alec. Reproduce the deployment and verify that the mounted path is usable by alec rather than owned only by root.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, ruby
- Domain
- devops, infrastructure
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100