mounting issues slack 9.1

Place to discuss Slackware

mounting issues slack 9.1

Postby shuiend » Sun Nov 23, 2003 12:28 pm

Ok when i try top mount a cdrom or floppy from a normal i get the following error.

shuiend@shuiend:~$ mount /mnt/cdrom/
mount: only root can mount /dev/cdrom on /mnt/cdrom

I have chmod 777 /mnt/cdrom, /dev/cdrom, /dev/sr0. All those permisiions seem to be correct. But it still wont let me mont it. I have also checked mount and all users can execuit it. My fstab is the following

/dev/hda6 swap swap defaults 0 0
/dev/hda5 / reiserfs defaults 1 1
/dev/hda2 /boot reiserfs defaults 1 2
/dev/hda1 /windows vfat defaults 1 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0

i dont know if it is something in there with the owner or what not. Also how do i make it so my normal user can access the windows directory and has write permissions? I would like to be able to get into it and change things without having to be root
shuiend
scripter
scripter
 
Posts: 91
Joined: Mon Apr 28, 2003 8:05 pm

Postby Void Main » Sun Nov 23, 2003 1:52 pm

Replace "owner" with "user" in your fstab options for the CD-ROM line:

For "owner" to work when logged on, you would have to own the device file that your /dev/cdrom symlink points to. Red Hat sets the ownership of those files to the user that is logged on at the console when the user logs in. The /etc/security/console.perms file controls the login permissions on those files. Not sure how Slackware does it. The "user" option will allow anyone to mount the device (less restrictive than then "owner" option).
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA

Postby shuiend » Tue Nov 25, 2003 8:20 pm

Thanks that worked perfectly. Now how bout setting up /windows so all users can access it? That is my next goal.
shuiend
scripter
scripter
 
Posts: 91
Joined: Mon Apr 28, 2003 8:05 pm

Postby Void Main » Tue Nov 25, 2003 9:21 pm

umask=000
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA


Return to Slackware

Who is online

Users browsing this forum: No registered users and 1 guest

cron