Skip to content

[BUG] System packages should not override existing permissions #65264

@dwoz

Description

@dwoz

Description

Since adding the salt user and running the master as the new user we modify permissions on several directories and files when installing salt (deb and rpm packages). This works great but some users want to run the master as a user other than salt. In those cases; modifying the permissions at package install time cause users to have to re-adjust those permissions every time they upgrade salt.

Ideally the packages can be smart enough to not modify permissions if the target directories already exist and are owned by another user. Perhaps checking the permissions and only modifying them if they are owned by root is enough.

See also: #65243

Metadata

Metadata

Labels

Bugbroken, incorrect, or confusing behaviorPackagingRelated to packaging of Salt, not Salt's support for package management.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions