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 ba...@ursamundi.org: 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 xuyuan...@gmail.com wrote: i tried the command: $mount /dev/sdb4

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. # # file system

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.

[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 noela...@gmail.com: 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

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. # # file system mount point type

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 xuyuan...@gmail.com 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