[Bug 280518] etcupdate: cannot be run as non-root
Date: Wed, 31 Jul 2024 00:26:44 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280518 Bug ID: 280518 Summary: etcupdate: cannot be run as non-root Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: bz@FreeBSD.org CC: jhb@FreeBSD.org There are times, e.g., when updating NFS ROOT trees on ZFS when one wants to run etcupdate on the tree (say on a shared machine). That is not possible given: update_cmd() enforces: 1541 if [ `id -u` -ne 0 ]; then 1542 echo "Must be root to update a tree." 1543 exit 1 1544 fi % etcupdate -s `pwd` -F -D /tank/users/tigger/persie5 Must be root to update a tree. -- You are receiving this mail because: You are the assignee for the bug.