[lug] Allowing Users to Supermount

Alan Robertson alanr at unix.sh
Sun Feb 25 20:30:46 MST 2001

SoloCDM wrote:
> How do I allow specified users access to a supermounted cdrom
> (iso9660)?
> Every time I "ls -A" /[mount_directory], from a user account,
> I get: ls: /[mount_directory]: Permission denied.  I tried adding
> permissions for the user to group adm, disk, cdrom.  I changed the
> permissions for /dev/hdd to 666, 644, 655.  I tried mounting the
> cdrom with supermount disabled and I get: mount: /dev/hdd already
> mounted or /[mount_directory] busy.  The first bit, after switching
> everything back to the original settings, is set to: brw-------,
> which I surmised must be the reason for the "busy" message, because
> I didn't find any reference for "b".
> BTW, what is the chmod mode or octal_mode for "b"?

"b" means block special device.  It means it's a disk like device.  Trust
me, you don't want to change that.

The mount system call is just plain restricted to the superuser.  Device
permissions don't matter.  However, the /sbin/mount command can have a flag
in it called user which will allow mere mortals to perform the requested
mount operation.

More information about the LUG mailing list