mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Fix package upgrade setting wrong ownership on a package's $HOME.
This happens when the UID/GID doesn't match the expected number from UIDs/GIDs. https://github.com/freebsd/pkg/issues/1485 has more details. With hat: portmgr Discussed with: bapt, mat
This commit is contained in:
parent
0312cef724
commit
e73c0c591a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=425033
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ if [ -n "${USERS}" ]; then
|
|||
/|/nonexistent|/var/empty)
|
||||
;;
|
||||
*)
|
||||
echo "${dp_INSTALL} -d -g $gid -o $uid $homedir" >> "${dp_UG_INSTALL}"
|
||||
echo "${dp_INSTALL} -d -g $login -o $login $homedir" >> "${dp_UG_INSTALL}"
|
||||
;;
|
||||
esac
|
||||
done <<-eot
|
||||
|
|
Loading…
Add table
Reference in a new issue