View Single Post

   
  #4 (permalink)  
Old 01-18-2008, 05:14 AM
Andreas Janssen
 
Posts: n/a
Default Re: problemi permissions

Hello

Davide Bianchi (<davideyeahsure@onlyforfun.net>) wrote:
> On 2004-10-04, Alberto <alberto@nomail.it> wrote:


>> 1) - non riesco a montare il cdrom
>>> 1) I can't mount the CDRom

>
> Be sure that your /dev/ file is readable by the user that want to
> mount it, and the directory where you want to mount have to be
> readable and writeable and executable by the same user.


Why? Any distro I used so far had mount suid root, so the users don't
need permissions on the device file and mount points, because mount
runs as root. You only need permission to the mount point /after/
mounting, which means you must have permissions to access the root
directory (and what else you want to read) on the mounted file system.
And of course a matching entry in your fstab, with the user or users
option set.

best regards
Andreas Janssen

--
Andreas Janssen <andreas.janssen@bigfoot.com>
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps.html
Reply With Quote