Re: only root can unmount

2008-12-06 Thread Douglas A. Tutty
On Tue, Dec 02, 2008 at 06:23:19PM -0800, Daniel Burrows wrote: > On Tue, Dec 02, 2008 at 10:50:23PM +, T o n g <[EMAIL PROTECTED]> was > heard to say: > > On Tue, 02 Dec 2008 06:01:59 -0800, Daniel Burrows wrote: > > > > >> [EMAIL PROTECTED]:~$ grep dvd /etc/fstab > > >> /dev/dvd /medi

Re: only root can unmount

2008-12-05 Thread Chris Bannister
0 0 ^ > /dev/dvd /mnt/dvd auto user,noauto,exec,ro 0 0 > > [EMAIL PROTECTED]:~$ mount /media/dvd > > [EMAIL PROTECTED]:~$ umount /media/dvd && echo ok > ok > > [EMAIL PROTECTED]:~$ mount /mnt/dvd > > [EMAIL PROTECTED]:~$ umount

Re: only root can unmount

2008-12-02 Thread Daniel Burrows
On Tue, Dec 02, 2008 at 10:50:23PM +, T o n g <[EMAIL PROTECTED]> was heard to say: > On Tue, 02 Dec 2008 06:01:59 -0800, Daniel Burrows wrote: > > >> [EMAIL PROTECTED]:~$ grep dvd /etc/fstab > >> /dev/dvd /media/dvd autousers,noauto,exec,ro0 > >> 0 /dev/dvd /mnt/dvd

Re: only root can unmount

2008-12-02 Thread T o n g
On Tue, 02 Dec 2008 06:01:59 -0800, Daniel Burrows wrote: >> [EMAIL PROTECTED]:~$ grep dvd /etc/fstab >> /dev/dvd /media/dvd autousers,noauto,exec,ro0 >> 0 /dev/dvd /mnt/dvd auto user,noauto,exec,ro 0 0 > > Is it intentional that one line says "users" and the other one

Re: only root can unmount

2008-12-02 Thread Daniel Burrows
On Mon, Dec 01, 2008 at 04:23:18AM +, T o n g <[EMAIL PROTECTED]> was heard to say: > [EMAIL PROTECTED]:~$ grep dvd /etc/fstab > /dev/dvd /media/dvd autousers,noauto,exec,ro0 0 > /dev/dvd /mnt/dvd auto user,noauto,exec,ro 0 0 Is it intentional that one line says "us

Re: only root can unmount

2008-11-30 Thread T o n g
p;& echo ok ok [EMAIL PROTECTED]:~$ mount /mnt/dvd [EMAIL PROTECTED]:~$ umount /mnt/dvd umount: only root can unmount /dev/dvd from /mnt/dvd I.e., the trick is not actually the name-du-jour of the DVD drive, but the mount point -- under /mnt, no; under /media yes. -- Tong (rem

Re: only root can unmount

2008-11-30 Thread Sven Joachim
On 2008-11-30 20:13 +0100, T o n g wrote: > On Sun, 30 Nov 2008 10:12:56 +0200, Andrei Popescu wrote: > >> The only thing that sticks out is that you have /dev/dvd in fstab but >> mount talks about /dev/scd2. Try replacing /dev/dvd with /dev/scd2 in >> fstab. > > Ah, it works now. Thanks a lot And

Re: only root can unmount

2008-11-30 Thread T o n g
On Sun, 30 Nov 2008 10:12:56 +0200, Andrei Popescu wrote: > The only thing that sticks out is that you have /dev/dvd in fstab but > mount talks about /dev/scd2. Try replacing /dev/dvd with /dev/scd2 in > fstab. Ah, it works now. Thanks a lot Andrei. That's the solution. The reason that it didn't

Re: only root can unmount

2008-11-30 Thread Andrei Popescu
> [EMAIL PROTECTED]:~$ grep dvd /etc/fstab > /dev/scd2 /mnt/dvd auto user,noauto,exec,ro 0 0 > > [EMAIL PROTECTED]:~$ umount /mnt/dvd > umount: only root can unmount /dev/scd2 from /mnt/dvd And the output of 'mount' is still the same (as in no 'user')? If this is t

Re: only root can unmount

2008-11-30 Thread T o n g
o,exec,ro 0 0 [EMAIL PROTECTED]:~$ umount /mnt/dvd umount: only root can unmount /dev/scd2 from /mnt/dvd -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of &qu

Re: only root can unmount

2008-11-30 Thread Andrei Popescu
On Sun,30.Nov.08, 06:15:20, T o n g wrote: > Thanks everyone. Here is all info required from the replies so far, apart > from above: [snip info] The only thing that sticks out is that you have /dev/dvd in fstab but mount talks about /dev/scd2. Try replacing /dev/dvd with /dev/scd2 in fstab

Re: only root can unmount

2008-11-29 Thread T o n g
On Wed, 26 Nov 2008 21:30:03 +, T o n g wrote: > I get the following error when unmounting dvd: > > $ umount /mnt/dvd > umount: only root can unmount /dev/dvd from /mnt/dvd > > Strange is that, I have "user" in my fstab: > > $ grep dvd /etc/fstab > /d

Re: only root can unmount

2008-11-26 Thread lee
On Wed, Nov 26, 2008 at 07:20:12PM -0600, Boyd Stephen Smith Jr. wrote: > On Wednesday 26 November 2008, lee <[EMAIL PROTECTED]> wrote about 'Re: > only root can unmount': > >On Wed, Nov 26, 2008 at 09:30:03PM +, T o n g wrote: > >> $ grep dvd /etc/f

Re: only root can unmount

2008-11-26 Thread Boyd Stephen Smith Jr.
On Wednesday 26 November 2008, lee <[EMAIL PROTECTED]> wrote about 'Re: only root can unmount': >On Wed, Nov 26, 2008 at 09:30:03PM +, T o n g wrote: >> $ grep dvd /etc/fstab >> /dev/dvd /mnt/dvd auto user,noauto,exec,ro 0 0 > >There seems to be a comma m

Re: only root can unmount

2008-11-26 Thread Douglas A. Tutty
On Wed, Nov 26, 2008 at 05:38:40PM -0600, lee wrote: > On Wed, Nov 26, 2008 at 09:30:03PM +, T o n g wrote: > > > $ grep dvd /etc/fstab > > /dev/dvd /mnt/dvd auto user,noauto,exec,ro 0 0 > > > > and moreover, I mounted /mnt/dvd as myself, not root. > > > > What could be wrong? > > There s

Re: only root can unmount

2008-11-26 Thread lee
On Wed, Nov 26, 2008 at 09:30:03PM +, T o n g wrote: > $ grep dvd /etc/fstab > /dev/dvd /mnt/dvd auto user,noauto,exec,ro 0 0 > > and moreover, I mounted /mnt/dvd as myself, not root. > > What could be wrong? There seems to be a comma missing, and you seem to have tried to specify "auto"

Re: only root can unmount

2008-11-26 Thread Mirco Piccin
Hi all >> I get the following error when unmounting dvd: >> >> $ umount /mnt/dvd >> umount: only root can unmount /dev/dvd from /mnt/dvd >> >> Strange is that, I have "user" in my fstab: >> >> $ grep dvd /etc/fstab >> /dev/dvd /mn

Re: only root can unmount

2008-11-26 Thread Sven Joachim
On 2008-11-26 22:30 +0100, T o n g wrote: > I get the following error when unmounting dvd: > > $ umount /mnt/dvd > umount: only root can unmount /dev/dvd from /mnt/dvd > > Strange is that, I have "user" in my fstab: > > $ grep dvd /etc/fstab > /dev/dvd

only root can unmount

2008-11-26 Thread T o n g
Hi, I get the following error when unmounting dvd: $ umount /mnt/dvd umount: only root can unmount /dev/dvd from /mnt/dvd Strange is that, I have "user" in my fstab: $ grep dvd /etc/fstab /dev/dvd /mnt/dvd auto user,noauto,exec,ro 0 0 and moreover, I mounted /mnt/dvd as myself

Re: Problem: 'only root can unmount "/dev/something" from "/somewhere"'

2001-07-15 Thread Guy Geens
> "Norbert" == Norbert Nemec <[EMAIL PROTECTED]> writes: Norbert> Hi there, on quite a number of machines I've encountered the Norbert> problem, that a normal user can mount filesystems Norbert> ("user"-flag set in /etc/fstab) but when trying to unmount, Norbert> the above error is given inste

Re: Problem: 'only root can unmount "/dev/something" from "/somewhere"'

2001-07-14 Thread Carel Fellinger
On Sat, Jul 14, 2001 at 10:34:20AM +0200, Norbert Nemec wrote: > Hi there, > > on quite a number of machines I've encountered the problem, that a normal > user > can mount filesystems ("user"-flag set in /etc/fstab) but when trying to > unmount, the above error is given instead. It seems a prob

Problem: 'only root can unmount "/dev/something" from "/somewhere"'

2001-07-14 Thread Norbert Nemec
Hi there, on quite a number of machines I've encountered the problem, that a normal user can mount filesystems ("user"-flag set in /etc/fstab) but when trying to unmount, the above error is given instead. It seems a problem in either kernel 2.4 series or one of the new versions of "mount", sinc