Re: fstab has "user" option, but still cann't be mounted by non-root user

2011-09-09 Thread yuanwei xu
2011/9/9 Paul Johnson : > You might try $ mount /media/usbdisk4_data and see if that works. Yes, it works and it's really a smart way. With bash's auto completion, it's perfect. Thanks. > > yuanwei xu wrote: > > >>i tried the command: $mount /dev/sdb4 /media/usbdisk4_data and $mount >>/dev/disk/

Re: fstab has "user" option, but still cann't be mounted by non-root user

2011-09-08 Thread Paul Johnson
You might try $ mount /media/usbdisk4_data and see if that works. yuanwei xu wrote: >i tried the command: $mount /dev/sdb4 /media/usbdisk4_data and $mount >/dev/disk/by-uuid/e2f1534d-aecd-4f2a-a153-822ac4d73967 >/media/usbdisk4_data, but both were failed. >$ls -l /bin/mount output: -rwsr-xr-x 1

Re: fstab has "user" option, but still cann't be mounted by non-root user

2011-09-08 Thread Mark Grieveson
On Thu, 8 Sep 2011 14:48:08 + (UTC) debian-user-digest-requ...@lists.debian.org wrote: > page of fstab,I set the "user" option,but still get error " mount: > only root can do that" when i try to mount it. > > > # /etc/fstab: static file system information. > # > # > # /dev/s

[solved] Re: fstab has "user" option, but still cann't be mounted by non-root user

2011-09-08 Thread yuanwei xu
2011/9/8 Camaleón : > On Thu, 08 Sep 2011 21:43:33 +0800, yuanwei xu wrote: > >> Hello, below is one section of my fstab, I want my usb >> harddisk(/dev/sdbx) can be mounted by the non-root,according the man >> page of fstab,I set the "user" option,but still get error " mount: only >> root can do t

Re: fstab has "user" option, but still cann't be mounted by non-root user

2011-09-08 Thread Camaleón
On Thu, 08 Sep 2011 21:43:33 +0800, yuanwei xu wrote: > Hello, below is one section of my fstab, I want my usb > harddisk(/dev/sdbx) can be mounted by the non-root,according the man > page of fstab,I set the "user" option,but still get error " mount: only > root can do that" when i try to mount it

fstab has "user" option, but still cann't be mounted by non-root user

2011-09-08 Thread yuanwei xu
Hello, below is one section of my fstab, I want my usb harddisk(/dev/sdbx) can be mounted by the non-root,according the man page of fstab,I set the "user" option,but still get error " mount: only root can do that" when i try to mount it. # /etc/fstab: static file system information. # #