LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-05-2004, 01:39 PM   #1
mrosati
Member
 
Registered: Nov 2003
Location: Mestre - ITALY
Distribution: Debian sarge
Posts: 132

Rep: Reputation: 15
Unhappy normal user cannot use mount command


i have just installed slackware linux and configured the system with the xf86config command.
i have also added in /etc/fstab file all the devices, but when i am logged not as root but as a normal user, if i try to mount, for example, floppy drive, i get an error message like this:

only root can mount /dev/fd0 on /mnt/floppy

i have tried to change permissions of the mount directories (/mnt/floppy, for example), but nothing changes...
i include also my fstab file here:

/dev/hda5 swap swap defaults 0 0
/dev/hda6 / ext2 defaults 1 1
/dev/cdrom /mnt/cdrw iso9660 noauto,owner,ro 0 0
/dev/hdd /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


if anyone has suggesions to resolve my problem, please, reply to this post.

thank you.
 
Old 01-05-2004, 01:57 PM   #2
DaHammer
Member
 
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

Rep: Reputation: 30
Try dropping the device off the command. When you have fstab entries for a device, there is no need to supply the name of the device when you mount it, only root can directly mount that way, as it's telling you. mtab will already contain them. Like so:

mount /mnt/floppy
mount /mnt/cdrom
mount /mnt/cdrw
 
Old 01-05-2004, 02:05 PM   #3
mrosati
Member
 
Registered: Nov 2003
Location: Mestre - ITALY
Distribution: Debian sarge
Posts: 132

Original Poster
Rep: Reputation: 15
also writing

mount /mnt/floppy
mount /mnt/cdrom
mount /mnt/cdrw

i get the same error...
 
Old 01-05-2004, 02:15 PM   #4
luxitan
Member
 
Registered: Aug 2003
Location: Portugal
Distribution: Gentoo
Posts: 78

Rep: Reputation: 15
/dev/fd0 /mnt/floppy auto noauto,owner 0 0

the owner keyword says that only the device owner can mount it, try

/dev/fd0 /mnt/floppy auto noauto,user 0 0
 
Old 01-05-2004, 02:59 PM   #5
mrosati
Member
 
Registered: Nov 2003
Location: Mestre - ITALY
Distribution: Debian sarge
Posts: 132

Original Poster
Rep: Reputation: 15
yeah! thank you now everything works!

cya!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mount floppy as normal user melinda_sayang Slackware 3 01-13-2007 01:59 PM
Normal user being able to mount cdrom dave`2005 Slackware 6 10-21-2005 05:21 PM
can normal user use shutdown command? sorno Linux - Newbie 2 07-30-2005 06:11 AM
normal user can mount? vacilus Linux - Software 1 12-22-2004 11:39 AM
Cant mount any dev as a normal user Vencalator Linux - Newbie 6 09-16-2003 05:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration