sm-sorcery-bugs AT lists.ibiblio.org
Subject: Bugs for Sorcery are reported here
List archive
[SM-Sorcery-Bugs] [Bug 11413] New: untar permissions
- From: bugzilla-daemon AT bugs.sourcemage.org
- To: sm-sorcery-bugs AT lists.ibiblio.org
- Subject: [SM-Sorcery-Bugs] [Bug 11413] New: untar permissions
- Date: 21 Apr 2006 23:40:04 -0000
http://bugs.sourcemage.org/show_bug.cgi?id=11413
Summary: untar permissions
Product: Sorcery
Version: 1.13.x
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: Unknown
AssignedTo: sm-sorcery-bugs AT lists.ibiblio.org
ReportedBy: jblosser-smgl AT firinn.org
I'm not exactly sure which component we'll say isn't quite right here, but one
general symptom is this:
# ls -l /etc/{limits,login.defs}
-rw-rw-r-- 1 2732 2732 725 Dec 14 1997 /etc/limits
-rw-rw-r-- 1 2732 2732 9208 Feb 7 01:41 /etc/login.defs
Note the ownership on both of these.
The chain that leads to this is:
1) sorcery untars things as root, using the user/group stored in the tarball
2) install_config_file installs these files via cp -p
Other symptoms include dirs under /usr/src having odd permissions.
There are a few ways to fix this... changing the cp to be cp
--preserve=mode,timestamps would be one, but fixing the untar to use root:root
ownership would be better globally.
--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
- [SM-Sorcery-Bugs] [Bug 11413] New: untar permissions, bugzilla-daemon, 04/21/2006
Archive powered by MHonArc 2.6.24.