[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mount: only root can do that



On Wed, Jun 01, 2005 at 09:25:11AM -0400, jmr_071769 wrote:
} howdy everyone.
} 
} could someone tell me how to allow a regular debian user to mount a
} cdrom? odd that, you can create the cdrom device with kde and mount it,
} but the user can't use console mount commands to mount the same device.
} 
} here's the fstab:
[...]
} /dev/hdc        /media/cdrom0   iso9660 ro,user,noauto  0       0

This is correct.

} and here's an example command i'm using to try to mount along with it's
} output:
} 
} kevans@kevans:~$ mount -t auto /dev/hdc /media/cdrom0
} mount: only root can do that

mount /media/cdrom0

You see, only root is allowed to give extra options or specify what is
being mounted to the given mount point. If you just ask it to mount what
belongs on /media/cdrom0, any user has permission. That's what KDE is
doing.

} tia!
} -jeff
--Greg



Reply to: