Bug 198253 - squid: don't chgrp another pkg's files/directory:
Summary: squid: don't chgrp another pkg's files/directory:
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: squid
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Martin Stransky
QA Contact:
URL:
Whiteboard:
Depends On: 198251
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-07-10 16:27 UTC by Rex Dieter
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-08-04 12:09:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
An expected changes for the spec file (463 bytes, patch)
2006-08-03 15:47 UTC, Dmitry Butskoy
no flags Details | Diff

Description Rex Dieter 2006-07-10 16:27:07 UTC
squid currently contains the scriptlet:
%triggerin -- samba-common
chgrp squid /var/cache/samba/winbindd_privileged > /dev/null 2>& 1 || true

I can understand the idea behind it, but it is way wrong to be changing (another
pkg's!) file/dir ownership this way.

I've outlined a proposal to avoid the need for such hackery, in bug #198251 ,
samba: make /var/cache/samba/windind_privledged group owned/writable.  Once
implemented in samba packaging, the same thing can be accomplished here by
instead by making the squid user (and/or group) be a member of the "samba" group.

Comment 1 Dmitry Butskoy 2006-08-03 15:47:10 UTC
Created attachment 133562 [details]
An expected changes for the spec file

It also tries to fallback to the current "ugly" way if group"winbind" still not
exists.

Comment 2 Dmitry Butskoy 2006-08-03 15:48:30 UTC
It would be better to implement this before FC6 time...

Comment 3 Martin Stransky 2006-08-04 12:09:22 UTC
fixed in rawhide...


Note You need to log in before you can comment on or make changes to this bug.