mounting for non-root users
Mario Vukelic
mario.vukelic at dantian.org
Mon Apr 18 13:40:49 UTC 2005
On Mon, 2005-04-18 at 09:24 -0400, Todd Slater wrote:
> I'm trying to mount Novell shares using ncpmount. I can do it using sudo
> but I'd like to be able to do it as a regular user. Here's what I've
> done:
>
> 1. created dir /mnt/novell
> 2. sudo chmod 4755 /usr/bin/ncpmount
>
> When I try to mount the volume I get the error "Cannot to mount on
> /mnt/novell: Operation not permitted"
For users to be able to mount, the mountpoint must be known
in /etc/fstab, as follows (everything goes on one line; the commented
line tells you what each entry means)
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/hdc /media/CDROM iso9660 ro,users,noauto,nosuid,nodev,noexec 0
0
If you use the option "user", any user can mount. However, he can only
unmount those drives he has mounted himself. If you instead use
"users" (note the s), the user can unmount drives that other users have
mounted
Kind regards, Mario
More information about the ubuntu-users
mailing list