ClusterLabs / ClusterLabs/resource-agents
[Feature] FileSystem - add post-mount chown / chmod
- Dominant language
- Shell
- Stars
- 519
- Forks
- 608
- Avg merge
- 6d 1h
- Merged PRs (30d)
- 7
Description
When the resource is started, the mountpoint is set to `root:root`. Some filesystems do not support `uid` and `gid`, such as XFS or EXT4.
We could add tow parameters called `owner` and `mode` to set ACL. Example:
- `owner=postgres:postgres`
- `mode=0700`
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the FileSystem resource agent and the code path that runs after a resource is started and mounted. Check how existing parameters are declared and validated, then verify that owner and mode are applied to the mountpoint for filesystems without uid/gid support. Done means both example values are accepted and the requested ownership and permissions are set after mounting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- operating-systems
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100