Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

preserve the owner, group and umask #1454

Merged
merged 1 commit into from
Nov 19, 2015
Merged

preserve the owner, group and umask #1454

merged 1 commit into from
Nov 19, 2015

Conversation

dhoffend
Copy link
Contributor

This is a follow up pull request to the already closed issue #1429 The problem is not on the users end. It's the way the upgrade Script moves the config files to the new locations.

The upgrade script does copy the configs like this

cp -v $conffile $default_conf_dir/

If you execute the upgrade script with root priviliges the copied filed will have the rights of the user logged in (in this case root).

The correct way would be to preserve the owner, group and umask

cp -av $conffile $default_conf_dir/

when migrating the configuration files to their new location.
killing added a commit that referenced this pull request Nov 19, 2015
preserve the owner, group and umask
@killing killing merged commit e551076 into haiwen:master Nov 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants