Re: [patch] util-linux-ng: unprivileged mounts support

2008-01-19 Thread Szabolcs Szakacsits
On Sat, 19 Jan 2008, Miklos Szeredi wrote: > > But 'fusermount -u /tmp/test' does work, doesn't it? You're submitting patches to get rid of fusermount, aren't you? Most users absolutely have no idea what fusermount is and they would __really__ like to see umount(8) working finally. S

Re: [patch] util-linux-ng: unprivileged mounts support

2008-01-19 Thread Miklos Szeredi
> > This is an experimental patch for supporing unprivileged mounts and > > umounts. > > User unmount unfortunately still doesn't work if the kernel doesn't have > the unprivileged mount support but as we discussed this in last July that > shouldn't be needed for this case. > > % mount -t n

Re: [patch] util-linux-ng: unprivileged mounts support

2008-01-19 Thread Szabolcs Szakacsits
On Wed, 16 Jan 2008, Miklos Szeredi wrote: > This is an experimental patch for supporing unprivileged mounts and > umounts. User unmount unfortunately still doesn't work if the kernel doesn't have the unprivileged mount support but as we discussed this in last July that shouldn't be needed f

Re: [patch] util-linux-ng: unprivileged mounts support

2008-01-16 Thread Miklos Szeredi
> > This is an experimental patch for supporing unprivileged mounts and > > umounts. The following features are added: > > same feedback as last time ... the cap stuff needs to be made optional and > proper header checks added to configure ... Later, sure. For now, I'm concentrating on the act

Re: [patch] util-linux-ng: unprivileged mounts support

2008-01-16 Thread Mike Frysinger
On Wednesday 16 January 2008, Miklos Szeredi wrote: > This is an experimental patch for supporing unprivileged mounts and > umounts. The following features are added: same feedback as last time ... the cap stuff needs to be made optional and proper header checks added to configure ... > 1) If m

[patch] util-linux-ng: unprivileged mounts support

2008-01-16 Thread Miklos Szeredi
From: Miklos Szeredi <[EMAIL PROTECTED]> This is an experimental patch for supporing unprivileged mounts and umounts. The following features are added: 1) If mount/umount are suid, first try without privileges. This is done by forking, dropping privileges in child, and redirecting stderr to /de

Re: util-linux-ng: unprivileged mounts support

2008-01-08 Thread Samuel Thibault
Mike Frysinger, le Tue 08 Jan 2008 10:31:04 -0500, a écrit : > with all the non-linux changes that have gone in, does there need to be > header > checks here and then have mount.c key off of them ? i'm thinking so ... Sure! Samuel - To unsubscribe from this list: send the line "unsubscribe lin

Re: util-linux-ng: unprivileged mounts support

2008-01-08 Thread Mike Frysinger
On Tuesday 08 January 2008, Miklos Szeredi wrote: > --- util-linux-ng.orig/configure.ac 2008-01-07 21:40:22.0 +0100 > +++ util-linux-ng/configure.ac2008-01-07 21:40:50.0 +0100 > @@ -91,6 +92,11 @@ fi > UTIL_CHECK_LIB(util, openpty) > UTIL_CHECK_LIB(termcap, tgetnum) > >

util-linux-ng: unprivileged mounts support

2008-01-08 Thread Miklos Szeredi
From: Miklos Szeredi <[EMAIL PROTECTED]> This is an experimental patch for supporing unprivileged mounts and umounts. The following features are added: 1) If mount/umount are suid, first try without privileges. This is done by forking, dropping privileges in child, and redirecting stderr to /de