Re: dpkg-statoverride (Re: RFS: mediatomb -- open source (GPL) UPnP MediaServer with a web interface)

2007-11-09 Thread Andres Mejia
There were some things I needed to fix. Here are the changes. * Fixing mediatomb-daemon.postrm to delete /var/lib/mediatomb when removing or purging. * Adding dpkg-statoverride command during purging to remove overrides used by mediatomb-daemon package. - URL: http

Re: dynamic users (Re: dpkg-statoverride (Re: RFS: mediatomb -- open source (GPL) UPnP MediaServer with a web interface))

2007-11-09 Thread Andres Mejia
On Nov 9, 2007 2:46 PM, Justin Pryzby <[EMAIL PROTECTED]> wrote: > On Fri, Nov 09, 2007 at 02:26:42PM -0500, Andres Mejia wrote: > > Thanks for the suggestions. I went ahead and made the changes. Here's > > the changelog for 0.10.0-5 of this package. > > > >[ Andres Mejia ] > >* Using delus

dynamic users (Re: dpkg-statoverride (Re: RFS: mediatomb -- open source (GPL) UPnP MediaServer with a web interface))

2007-11-09 Thread Justin Pryzby
> > > > On Nov 9, 2007 9:43 AM, Justin Pryzby <[EMAIL PROTECTED]> wrote: > > > > > > > > > On Fri, Nov 09, 2007 at 09:35:05AM +0930, Paul Wise wrote: > > > > > > postinst should use dpkg-statoverride instead of chown > > > &

Re: dpkg-statoverride (Re: RFS: mediatomb -- open source (GPL) UPnP MediaServer with a web interface)

2007-11-09 Thread Andres Mejia
ote: > > > > > > > On Fri, Nov 09, 2007 at 09:35:05AM +0930, Paul Wise wrote: > > > > > postinst should use dpkg-statoverride instead of chown > > > > Really? I thought this was an administrator's tool, and the postinst > > > > should

Re: dpkg-statoverride (Re: RFS: mediatomb -- open source (GPL) UPnP MediaServer with a web interface)

2007-11-09 Thread Michael Biebl
e: > > > > postinst should use dpkg-statoverride instead of chown > > > Really? I thought this was an administrator's tool, and the postinst > > > should do something like > > > > I guess I meant "chowning blindly" instead of "chown".

dpkg-statoverride (Re: RFS: mediatomb -- open source (GPL) UPnP MediaServer with a web interface)

2007-11-08 Thread Justin Pryzby
On Fri, Nov 09, 2007 at 10:35:00AM +0930, Paul Wise wrote: > On Nov 9, 2007 9:43 AM, Justin Pryzby <[EMAIL PROTECTED]> wrote: > > > On Fri, Nov 09, 2007 at 09:35:05AM +0930, Paul Wise wrote: > > > postinst should use dpkg-statoverride instead of chown > &g

Re: jackd/ dpkg-statoverride/ "audio" group question(s)

2003-10-28 Thread Matt Zimmerman
On Tue, Oct 28, 2003 at 09:52:52PM +1100, Zenaan Harkness wrote: > One method is jackd/ jackstart. jackd runs as root, jackstart starts it, > and can be run as any user, and uses kernel "capabilities" to give jackd > the required scheduling priority ("realitime"). Why on earth would a sound serve

Re: jackd/ dpkg-statoverride/ "audio" group question(s)

2003-10-28 Thread Matt Zimmerman
On Tue, Oct 28, 2003 at 09:52:52PM +1100, Zenaan Harkness wrote: > One method is jackd/ jackstart. jackd runs as root, jackstart starts it, > and can be run as any user, and uses kernel "capabilities" to give jackd > the required scheduling priority ("realitime"). Why on earth would a sound serve

Re: jackd/ dpkg-statoverride/ "audio" group question(s)

2003-10-28 Thread Zenaan Harkness
> > If it requires SUID root, then the package is almost certainly buggy. > > Please use a privileged audio device user instead; I'm aware of no ^^ > > reason that audio software should need general root privileges. > > Sorry to not clarify earlier - it

Re: jackd/ dpkg-statoverride/ "audio" group question(s)

2003-10-28 Thread Zenaan Harkness
> > If it requires SUID root, then the package is almost certainly buggy. > > Please use a privileged audio device user instead; I'm aware of no ^^ > > reason that audio software should need general root privileges. > > Sorry to not clarify earlier - it

Re: [Fwd: Re: jackd/ dpkg-statoverride/ "audio" group question(s)]

2003-10-27 Thread Junichi Uekawa
his regard - eg., having an audio group, > and suid/sgid on these applications? > (seeing as dpkg-statoverride is not the way to do it it seems) I invite you to join debian-multimedia mailing list, where we are trying to coordinate jack related stuff. regards, junichi

Re: [Fwd: Re: jackd/ dpkg-statoverride/ "audio" group question(s)]

2003-10-27 Thread Junichi Uekawa
his regard - eg., having an audio group, > and suid/sgid on these applications? > (seeing as dpkg-statoverride is not the way to do it it seems) I invite you to join debian-multimedia mailing list, where we are trying to coordinate jack related stuff. regards, junichi -- To UNSUB

Re: jackd/ dpkg-statoverride/ "audio" group question(s)

2003-10-27 Thread Andreas Metzler
On Mon, Oct 27, 2003 at 04:57:36PM +1100, Zenaan Harkness wrote: > > > > dpkg-statoverride --update --add root audio 4754 \ > > > > /usr/bin/jackstart > > > [...] > > > If jackstart always _requires_ SUID root you should not use > > > dpkg-st

Re: [Fwd: Re: jackd/ dpkg-statoverride/ "audio" group question(s)]

2003-10-27 Thread Andreas Metzler
ould be the place to > discuss "policy" in this regard - eg., having an audio group, > and suid/sgid on these applications? > (seeing as dpkg-statoverride is not the way to do it it seems) We _do_ have an audio-group and users who need to have access to /dev/{mixer,snd,dsp,..}

Re: jackd/ dpkg-statoverride/ "audio" group question(s)

2003-10-27 Thread Andreas Metzler
On Mon, Oct 27, 2003 at 04:57:36PM +1100, Zenaan Harkness wrote: > > > > dpkg-statoverride --update --add root audio 4754 \ > > > > /usr/bin/jackstart > > > [...] > > > If jackstart always _requires_ SUID root you should not use > > > dpkg-st

Re: [Fwd: Re: jackd/ dpkg-statoverride/ "audio" group question(s)]

2003-10-27 Thread Andreas Metzler
ould be the place to > discuss "policy" in this regard - eg., having an audio group, > and suid/sgid on these applications? > (seeing as dpkg-statoverride is not the way to do it it seems) We _do_ have an audio-group and users who need to have access to /dev/{mixer,snd,dsp,..}

Re: jackd/ dpkg-statoverride/ "audio" group question(s)

2003-10-27 Thread Zenaan Harkness
> > > dpkg-statoverride --update --add root audio 4754 \ > > > /usr/bin/jackstart > > [...] > > > If jackstart always _requires_ SUID root you should not use > > dpkg-statoverride but ship it SUID in the deb. > > If it requires SUID root, then the pa

Re: jackd/ dpkg-statoverride/ "audio" group question(s)

2003-10-26 Thread Zenaan Harkness
> > > dpkg-statoverride --update --add root audio 4754 \ > > > /usr/bin/jackstart > > [...] > > > If jackstart always _requires_ SUID root you should not use > > dpkg-statoverride but ship it SUID in the deb. > > If it requires SUID root, then the pa

Re: jackd/ dpkg-statoverride/ "audio" group question(s)

2003-10-26 Thread Steve Langasek
ftware > > that requires "root" privileges set up: > > dpkg-statoverride --update --add root audio 4754 \ > > /usr/bin/jackstart > [...] > If jackstart always _requires_ SUID root you should not use > dpkg-statoverride but ship it SUID in the deb. If it requires S

Re: jackd/ dpkg-statoverride/ "audio" group question(s)

2003-10-26 Thread Steve Langasek
ftware > > that requires "root" privileges set up: > > dpkg-statoverride --update --add root audio 4754 \ > > /usr/bin/jackstart > [...] > If jackstart always _requires_ SUID root you should not use > dpkg-statoverride but ship it SUID in the deb. If it requires S

[Fwd: Re: jackd/ dpkg-statoverride/ "audio" group question(s)]

2003-10-26 Thread Zenaan Harkness
and suid/sgid on these applications? (seeing as dpkg-statoverride is not the way to do it it seems) tia zen

Re: jackd/ dpkg-statoverride/ "audio" group question(s)

2003-10-26 Thread Andreas Metzler
On Sun, Oct 26, 2003 at 11:26:35PM +1100, Zenaan Harkness wrote: > Just been tinkering with jackstart and findout out what suid bit means. > I think that the following would be a useful way to have audio software > that requires "root" privileges set up: > > dpkg-statove

[Fwd: Re: jackd/ dpkg-statoverride/ "audio" group question(s)]

2003-10-26 Thread Zenaan Harkness
and suid/sgid on these applications? (seeing as dpkg-statoverride is not the way to do it it seems) tia zen -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: jackd/ dpkg-statoverride/ "audio" group question(s)

2003-10-26 Thread Andreas Metzler
On Sun, Oct 26, 2003 at 11:26:35PM +1100, Zenaan Harkness wrote: > Just been tinkering with jackstart and findout out what suid bit means. > I think that the following would be a useful way to have audio software > that requires "root" privileges set up: > > dpkg-statove

Re: jackd/ dpkg-statoverride/ "audio" group question(s)

2003-10-26 Thread Zenaan Harkness
> Debian packaging policy > (usr/share/doc/debian-policy/policy.html/ch-files.html#s10.9) says to > have root.root and rwxr-xr-w perms. But in this case I am thinking that Should have read the whole page first... time for bed for me. cheers zen

jackd/ dpkg-statoverride/ "audio" group question(s)

2003-10-26 Thread Zenaan Harkness
Just been tinkering with jackstart and findout out what suid bit means. I think that the following would be a useful way to have audio software that requires "root" privileges set up: dpkg-statoverride --update --add root audio 4754 \ /usr/bin/jackstart What this says is that each tim

Re: jackd/ dpkg-statoverride/ "audio" group question(s)

2003-10-26 Thread Zenaan Harkness
> Debian packaging policy > (usr/share/doc/debian-policy/policy.html/ch-files.html#s10.9) says to > have root.root and rwxr-xr-w perms. But in this case I am thinking that Should have read the whole page first... time for bed for me. cheers zen -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] wit

jackd/ dpkg-statoverride/ "audio" group question(s)

2003-10-26 Thread Zenaan Harkness
Just been tinkering with jackstart and findout out what suid bit means. I think that the following would be a useful way to have audio software that requires "root" privileges set up: dpkg-statoverride --update --add root audio 4754 \ /usr/bin/jackstart What this says is that each tim

Re: dpkg-statoverride by the postinst?

2003-06-09 Thread Matt Zimmerman
ons in postinst > > (allowing for the user to dpkg-statoverride them if they want). > > Assuming that the package will work with only a specific set of > ownership and permissions, are there reasons for not letting the > postinst do the statoverride? You can do it either way. I find t

Re: dpkg-statoverride by the postinst?

2003-06-09 Thread Matt Zimmerman
ons in postinst > > (allowing for the user to dpkg-statoverride them if they want). > > Assuming that the package will work with only a specific set of > ownership and permissions, are there reasons for not letting the > postinst do the statoverride? You can do it either way. I find t

dpkg-statoverride by the postinst?

2003-06-09 Thread Shaul Karl
On Sun, Jun 08, 2003 at 09:01:07PM -0400, Matt Zimmerman wrote: > >If the files need > certain ownership on the installed system, set the permissions in postinst > (allowing for the user to dpkg-statoverride them

dpkg-statoverride by the postinst?

2003-06-08 Thread Shaul Karl
On Sun, Jun 08, 2003 at 09:01:07PM -0400, Matt Zimmerman wrote: > >If the files need > certain ownership on the installed system, set the permissions in postinst > (allowing for the user to dpkg-statoverride them

Re: dpkg-statoverride question

2001-11-14 Thread Colin Watson
On Fri, Jun 02, 2000 at 05:44:38PM -0300, Gustavo Noronha Silva wrote: > On Wed, 14 Nov 2001 09:38:14 -0200 > Henrique de Moraes Holschuh <[EMAIL PROTECTED]> wrote: > > On Wed, 14 Nov 2001, Pedro Zorzenon Neto wrote: > > > My package (avrprog) uses dpkg-statover

Re: dpkg-statoverride question

2001-11-14 Thread Sean 'Shaleh' Perry
> if I am not misunderstanding anything, no package needs to depend on > dpkg as it is part of base am I wrong? (of course a versioned dependency > is in order...) > close. No package needs to declare a depends on anything marked 'Essential', these just happen to be in base. But so are many oth

Re: dpkg-statoverride question

2001-11-14 Thread Gustavo Noronha Silva
On Wed, 14 Nov 2001 09:38:14 -0200 Henrique de Moraes Holschuh <[EMAIL PROTECTED]> wrote: > On Wed, 14 Nov 2001, Pedro Zorzenon Neto wrote: > > My package (avrprog) uses dpkg-statoverride in the postinst script. > > Should I put a pre-depends on dpkg? > > No. A

Re: dpkg-statoverride question

2001-11-14 Thread Julian Gilbey
On Wed, Nov 14, 2001 at 09:35:48AM -0200, Pedro Zorzenon Neto wrote: > Hi Mentors, > > My package (avrprog) uses dpkg-statoverride in the postinst script. > Should I put a pre-depends on dpkg? Please be certain that you are using it correctly; you should be vary careful about do

Re: dpkg-statoverride question

2001-11-14 Thread Colin Watson
On Fri, Jun 02, 2000 at 05:44:38PM -0300, Gustavo Noronha Silva wrote: > On Wed, 14 Nov 2001 09:38:14 -0200 > Henrique de Moraes Holschuh <[EMAIL PROTECTED]> wrote: > > On Wed, 14 Nov 2001, Pedro Zorzenon Neto wrote: > > > My package (avrprog) uses dpkg-statover

Re: dpkg-statoverride question

2001-11-14 Thread Sean 'Shaleh' Perry
> if I am not misunderstanding anything, no package needs to depend on > dpkg as it is part of base am I wrong? (of course a versioned dependency > is in order...) > close. No package needs to declare a depends on anything marked 'Essential', these just happen to be in base. But so are many ot

Re: dpkg-statoverride question

2001-11-14 Thread Gustavo Noronha Silva
On Wed, 14 Nov 2001 09:38:14 -0200 Henrique de Moraes Holschuh <[EMAIL PROTECTED]> wrote: > On Wed, 14 Nov 2001, Pedro Zorzenon Neto wrote: > > My package (avrprog) uses dpkg-statoverride in the postinst script. > > Should I put a pre-depends on dpkg? > > No. A

Re: dpkg-statoverride question

2001-11-14 Thread Julian Gilbey
On Wed, Nov 14, 2001 at 09:35:48AM -0200, Pedro Zorzenon Neto wrote: > Hi Mentors, > > My package (avrprog) uses dpkg-statoverride in the postinst script. > Should I put a pre-depends on dpkg? Please be certain that you are using it correctly; you should be vary careful about do

Re: dpkg-statoverride question

2001-11-14 Thread Henrique de Moraes Holschuh
On Wed, 14 Nov 2001, Pedro Zorzenon Neto wrote: > My package (avrprog) uses dpkg-statoverride in the postinst script. > Should I put a pre-depends on dpkg? No. A simple versioned depends is enough. You only need pre-depends when you use a package's programs in preinst. -- &

dpkg-statoverride question

2001-11-14 Thread Pedro Zorzenon Neto
Hi Mentors, My package (avrprog) uses dpkg-statoverride in the postinst script. Should I put a pre-depends on dpkg? Thanks, Pedro

Re: dpkg-statoverride question

2001-11-14 Thread Henrique de Moraes Holschuh
On Wed, 14 Nov 2001, Pedro Zorzenon Neto wrote: > My package (avrprog) uses dpkg-statoverride in the postinst script. > Should I put a pre-depends on dpkg? No. A simple versioned depends is enough. You only need pre-depends when you use a package's programs in preinst. -- &

dpkg-statoverride question

2001-11-14 Thread Pedro Zorzenon Neto
Hi Mentors, My package (avrprog) uses dpkg-statoverride in the postinst script. Should I put a pre-depends on dpkg? Thanks, Pedro -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: Could someone clarify dpkg-statoverride please? (Was Re: dpkg-statoverride and creating users in postinst)

2001-02-13 Thread Jérôme Marant
Everything is clear now. Thanks a lot for these explanations. -- Jérôme Marant <[EMAIL PROTECTED]> --- Debian Activity Page: http://jerome.marant.free.fr/debian ---

Re: Could someone clarify dpkg-statoverride please? (Was Re: dpkg-statoverride and creating users in postinst)

2001-02-13 Thread Julian Gilbey
Package: dpkg Version: 1.8.3.1 Severity: minor On Tue, Feb 13, 2001 at 09:38:35AM +0100, J?r?me Marant wrote: > This is an extract from dpkg-statoverride manpage: > >`stat overrides' are a way to tell dpkg to use a different >owner or mode for a file

Re: Could someone clarify dpkg-statoverride please? (Was Re: dpkg-statoverride and creating users in postinst)

2001-02-13 Thread Jérôme Marant
Everything is clear now. Thanks a lot for these explanations. -- Jérôme Marant <[EMAIL PROTECTED]> --- Debian Activity Page: http://jerome.marant.free.fr/debian --- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subj

Re: Could someone clarify dpkg-statoverride please? (Was Re: dpkg-statoverride and creating users in postinst)

2001-02-13 Thread Julian Gilbey
Package: dpkg Version: 1.8.3.1 Severity: minor On Tue, Feb 13, 2001 at 09:38:35AM +0100, J?r?me Marant wrote: > This is an extract from dpkg-statoverride manpage: > >`stat overrides' are a way to tell dpkg to use a different >owner or mode for a file

Could someone clarify dpkg-statoverride please? (Was Re: dpkg-statoverride and creating users in postinst)

2001-02-13 Thread Jérôme Marant
Julian Gilbey <[EMAIL PROTECTED]> writes: > No, you shouldn't do it like this. You should do: > dpkg-statoverride --list ..., examine the output to see if a specific > mode/uid/gid is required, and if not, then just use a chmod. *Don't* > use dpkg-statoverride --ad

Could someone clarify dpkg-statoverride please? (Was Re: dpkg-statoverride and creating users in postinst)

2001-02-13 Thread Jérôme Marant
Julian Gilbey <[EMAIL PROTECTED]> writes: > No, you shouldn't do it like this. You should do: > dpkg-statoverride --list ..., examine the output to see if a specific > mode/uid/gid is required, and if not, then just use a chmod. *Don't* > use dpkg-statoverride --ad

Re: dpkg-statoverride and creating users in postinst

2001-02-12 Thread Julian Gilbey
On Mon, Feb 12, 2001 at 11:29:04PM +0100, [EMAIL PROTECTED] wrote: > Now you are in the right mood to consider calling dpkg-statoverride > *in spite* of what I have said before. Yes, just do a > dpkg-statoverride --list ..., and if there is nothing already there, do a > dpkg-statov

Re: dpkg-statoverride and creating users in postinst

2001-02-12 Thread Julian Gilbey
On Mon, Feb 12, 2001 at 11:29:04PM +0100, [EMAIL PROTECTED] wrote: > Now you are in the right mood to consider calling dpkg-statoverride > *in spite* of what I have said before. Yes, just do a > dpkg-statoverride --list ..., and if there is nothing already there, do a > dpkg-statov

Re: dpkg-statoverride and creating users in postinst

2001-02-12 Thread calvin
Hi, On Mon, Feb 12, 2001 at 10:38:37PM +0200, Michael-John Turner wrote: > Does anyone know of any packages that have been updated to use > dpkg-statoverride Look at the current ppp package (or do grep statoverride /var/lib/dpkg/info/*) What I have read is that .deb makers dont use statov

Re: dpkg-statoverride and creating users in postinst

2001-02-12 Thread Henrique M Holschuh
On Mon, 12 Feb 2001, Michael-John Turner wrote: > Does anyone know of any packages that have been updated to use > dpkg-statoverride for managing suid/sgid binaries owned by users created > during the package's postinst? I'm looking for the 'correct' way of Yes, p

dpkg-statoverride and creating users in postinst

2001-02-12 Thread Michael-John Turner
Hi all Does anyone know of any packages that have been updated to use dpkg-statoverride for managing suid/sgid binaries owned by users created during the package's postinst? I'm looking for the 'correct' way of handling a situation where I need to create a user and make bi

Re: dpkg-statoverride and creating users in postinst

2001-02-12 Thread calvin
Hi, On Mon, Feb 12, 2001 at 10:38:37PM +0200, Michael-John Turner wrote: > Does anyone know of any packages that have been updated to use > dpkg-statoverride Look at the current ppp package (or do grep statoverride /var/lib/dpkg/info/*) What I have read is that .deb makers dont use statov

Re: dpkg-statoverride and creating users in postinst

2001-02-12 Thread Henrique M Holschuh
On Mon, 12 Feb 2001, Michael-John Turner wrote: > Does anyone know of any packages that have been updated to use > dpkg-statoverride for managing suid/sgid binaries owned by users created > during the package's postinst? I'm looking for the 'correct' way of Yes, p

dpkg-statoverride and creating users in postinst

2001-02-12 Thread Michael-John Turner
Hi all Does anyone know of any packages that have been updated to use dpkg-statoverride for managing suid/sgid binaries owned by users created during the package's postinst? I'm looking for the 'correct' way of handling a situation where I need to create a user and make bi

Re: dpkg-statoverride sucks

2001-02-02 Thread Drew Parsons
On Thu, Feb 01, 2001 at 11:52:31AM -0800, Joey Hess wrote: > Drew Parsons wrote: > > Anyway, I tried also using dpkg-statoverride in postinst to set the mode for > > /usr/lib/games/mirrormagic, not just /var/lib... and do get the same > > problem: > > > > war

Re: dpkg-statoverride sucks

2001-02-02 Thread Drew Parsons
On Thu, Feb 01, 2001 at 11:52:31AM -0800, Joey Hess wrote: > Drew Parsons wrote: > > Anyway, I tried also using dpkg-statoverride in postinst to set the mode for > > /usr/lib/games/mirrormagic, not just /var/lib... and do get the same problem: > > > > warning: --upda

Re: dpkg-statoverride sucks

2001-02-01 Thread Joey Hess
Drew Parsons wrote: > Anyway, I tried also using dpkg-statoverride in postinst to set the mode for > /usr/lib/games/mirrormagic, not just /var/lib... and do get the same problem: > > warning: --update given but /usr/lib/games/mirrormagic does not exist > > So does that mea

Re: dpkg-statoverride sucks

2001-02-01 Thread Joey Hess
Drew Parsons wrote: > Anyway, I tried also using dpkg-statoverride in postinst to set the mode for > /usr/lib/games/mirrormagic, not just /var/lib... and do get the same problem: > > warning: --update given but /usr/lib/games/mirrormagic does not exist > > So does that mea

Re: dpkg-statoverride sucks

2001-02-01 Thread Drew Parsons
On Wed, Jan 31, 2001 at 08:25:31AM +1100, Hamish Moffatt wrote: > On Tue, Jan 30, 2001 at 12:02:16PM +, Julian Gilbey wrote: > > dpkg-statoverride is only for the sysadmin to change things *from* > > their normal settings. > > But that doesn't explain why it says t

Re: dpkg-statoverride sucks

2001-01-31 Thread Drew Parsons
On Wed, Jan 31, 2001 at 08:25:31AM +1100, Hamish Moffatt wrote: > On Tue, Jan 30, 2001 at 12:02:16PM +, Julian Gilbey wrote: > > dpkg-statoverride is only for the sysadmin to change things *from* > > their normal settings. > > But that doesn't explain why it says t

Re: dpkg-statoverride sucks

2001-01-30 Thread Hamish Moffatt
On Tue, Jan 30, 2001 at 12:02:16PM +, Julian Gilbey wrote: > dpkg-statoverride is only for the sysadmin to change things *from* > their normal settings. But that doesn't explain why it says the directory doesn't exist.. Hamish -- Hamish Moffatt VK3SB <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>

Re: dpkg-statoverride sucks

2001-01-30 Thread Hamish Moffatt
On Tue, Jan 30, 2001 at 12:02:16PM +, Julian Gilbey wrote: > dpkg-statoverride is only for the sysadmin to change things *from* > their normal settings. But that doesn't explain why it says the directory doesn't exist.. Hamish -- Hamish Moffatt VK3SB <[EMAIL PROTECTED]

Re: dpkg-statoverride sucks

2001-01-30 Thread Drew Parsons
s. > > If it needs it, that's how it should be in the .deb. Make sure that > dh_fixperms doesn't break it, though! > > dpkg-statoverride is only for the sysadmin to change things *from* > their normal settings. > Fair enough. That makes it simple enough the

Re: dpkg-statoverride sucks

2001-01-30 Thread Drew Parsons
s. > > If it needs it, that's how it should be in the .deb. Make sure that > dh_fixperms doesn't break it, though! > > dpkg-statoverride is only for the sysadmin to change things *from* > their normal settings. > Fair enough. That makes it simple enough the

Re: dpkg-statoverride sucks

2001-01-30 Thread Julian Gilbey
sn't break it, though! dpkg-statoverride is only for the sysadmin to change things *from* their normal settings. Julian -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Julian Gilbey, Dept of Maths, Queen Mary, Univ. of London Debi

Re: dpkg-statoverride sucks

2001-01-30 Thread Matt Zimmerman
On Tue, Jan 30, 2001 at 09:12:48PM +1100, Drew Parsons wrote: > Now when I do this by hand in debian/rules, it all works just fine. But I > was given to understand that setting gid mode was better done using > dpkg-statoverride for security reasons in the postinst script, using > so

dpkg-statoverride sucks

2001-01-30 Thread Drew Parsons
I have a question about dpkg-statoverride. I won't submit a bug, since maybe I'm just trying to use it improperly, but as far as I can tell, it sucks badly. I'm packaging the new version of mirrormagic, which has a series of data directories all with the setgid bit set (mode g+s)

Re: dpkg-statoverride sucks

2001-01-30 Thread Julian Gilbey
sn't break it, though! dpkg-statoverride is only for the sysadmin to change things *from* their normal settings. Julian -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Julian Gilbey, Dept of Maths, Queen Mary, Univ. of London Debi

Re: dpkg-statoverride sucks

2001-01-30 Thread Matt Zimmerman
On Tue, Jan 30, 2001 at 09:12:48PM +1100, Drew Parsons wrote: > Now when I do this by hand in debian/rules, it all works just fine. But I > was given to understand that setting gid mode was better done using > dpkg-statoverride for security reasons in the postinst script, using > so

dpkg-statoverride sucks

2001-01-30 Thread Drew Parsons
I have a question about dpkg-statoverride. I won't submit a bug, since maybe I'm just trying to use it improperly, but as far as I can tell, it sucks badly. I'm packaging the new version of mirrormagic, which has a series of data directories all with the setgid bit set (mode g+s)

Re: transition from suidmanager to dpkg-statoverride

2001-01-12 Thread peter karlsson
Joey Hess: > Hmm. If you run chrmod in the postinst, you will clobber any different > permissions that the user has set with statoverride. Well, I remove the statoverride (previously suidmanager stuff) in the postrm as well, so I need to re-instate them there. > I think it may work t

Re: transition from suidmanager to dpkg-statoverride

2001-01-12 Thread peter karlsson
Joey Hess: > Hmm. If you run chrmod in the postinst, you will clobber any different > permissions that the user has set with statoverride. Well, I remove the statoverride (previously suidmanager stuff) in the postrm as well, so I need to re-instate them there. > I think it may work t

Re: transition from suidmanager to dpkg-statoverride

2001-01-12 Thread Joey Hess
ostinst, and just remove the > calls I have to suidmanager. Hmm. If you run chrmod in the postinst, you will clobber any different permissions that the user has set with statoverride. I think it may work to examine dpkg-statoverride --list file, and if a statoverride is set, do nothing, els

Re: transition from suidmanager to dpkg-statoverride

2001-01-12 Thread Joey Hess
in postinst, and just remove the > calls I have to suidmanager. Hmm. If you run chrmod in the postinst, you will clobber any different permissions that the user has set with statoverride. I think it may work to examine dpkg-statoverride --list file, and if a statoverride is set, do nothing, els

Re: transition from suidmanager to dpkg-statoverride

2001-01-11 Thread peter karlsson
Joey Hess: > There is one wrinkle: If your package previously used suidmanager, and > you convert it to not, you should make it Conflicts: suidmanager (<< 0.50). > (The details of why are a little messy; see earlier discussion on > debian-devel.) A program I packaged (jwhois, I am taking over mai

Re: transition from suidmanager to dpkg-statoverride

2001-01-11 Thread peter karlsson
Joey Hess: > There is one wrinkle: If your package previously used suidmanager, and > you convert it to not, you should make it Conflicts: suidmanager (<< 0.50). > (The details of why are a little messy; see earlier discussion on > debian-devel.) A program I packaged (jwhois, I am taking over ma

Re: statoverride

2000-12-01 Thread Domenico Andreoli
On Thu, Nov 30, 2000 at 04:54:33PM -0500, Ben Collins wrote: > > Wichert says he will have a postinst script that converts suid.conf over > to statoverride format. It seems to me that the best way to convert is to > simply remove the calls to suidmanager in your install scripts. I

Re: statoverride

2000-12-01 Thread Domenico Andreoli
On Thu, Nov 30, 2000 at 04:54:33PM -0500, Ben Collins wrote: > > Wichert says he will have a postinst script that converts suid.conf over > to statoverride format. It seems to me that the best way to convert is to > simply remove the calls to suidmanager in your install scripts. I

Re: statoverride

2000-12-01 Thread Joey Hess
Ben Collins wrote: > Wichert says he will have a postinst script that converts suid.conf over > to statoverride format. It seems to me that the best way to convert is to > simply remove the calls to suidmanager in your install scripts. If you > user debhelper and currently depend on

Re: statoverride

2000-12-01 Thread Joey Hess
Ben Collins wrote: > Wichert says he will have a postinst script that converts suid.conf over > to statoverride format. It seems to me that the best way to convert is to > simply remove the calls to suidmanager in your install scripts. If you > user debhelper and currently depend on

Re: statoverride

2000-11-30 Thread Ben Collins
On Thu, Nov 30, 2000 at 10:10:21PM +0100, peter karlsson wrote: > Hi! > > So, am I supposed to move over my packages from using suidmanager to > use the new dpkg-statoverride? If so, is there a HOWTO describing how > to do it somewhere? Well, the dpkg-statoverride tool basically w

statoverride

2000-11-30 Thread peter karlsson
Hi! So, am I supposed to move over my packages from using suidmanager to use the new dpkg-statoverride? If so, is there a HOWTO describing how to do it somewhere? -- \\// peter - http://www.softwolves.pp.se/ Statement concerning unsolicited e-mail according to Swedish law: http

Re: statoverride

2000-11-30 Thread Ben Collins
On Thu, Nov 30, 2000 at 10:10:21PM +0100, peter karlsson wrote: > Hi! > > So, am I supposed to move over my packages from using suidmanager to > use the new dpkg-statoverride? If so, is there a HOWTO describing how > to do it somewhere? Well, the dpkg-statoverride tool basica

statoverride

2000-11-30 Thread peter karlsson
Hi! So, am I supposed to move over my packages from using suidmanager to use the new dpkg-statoverride? If so, is there a HOWTO describing how to do it somewhere? -- \\// peter - http://www.softwolves.pp.se/ Statement concerning unsolicited e-mail according to Swedish law: http