LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-22-2004, 02:27 AM   #1
orange400
Member
 
Registered: Mar 2003
Location: Bellevue, WA
Distribution: Arch w/ XFCE
Posts: 834

Rep: Reputation: 30
Redhat mounting button question


For convienience, I have added a few mount buttons to my taskbar near the notification area. I have captive-ntfs support installed, so I thought it would be neat to have a mount button for it. However, I can't mount it on demand because it says only root can. However, I can control the mounting of my floppy and cdroms. What can I do to mount on the fly like this without getting this error message?
 
Old 09-22-2004, 04:27 AM   #2
coolfrog
Member
 
Registered: Sep 2004
Location: India
Distribution: Slackware 10.0
Posts: 77

Rep: Reputation: 15
Hi,
Why don't you try making an entry into fstab. But that won't be a on the fly.
 
Old 09-24-2004, 03:51 AM   #3
orange400
Member
 
Registered: Mar 2003
Location: Bellevue, WA
Distribution: Arch w/ XFCE
Posts: 834

Original Poster
Rep: Reputation: 30
I was playing around with fstab a little, but wan't able to get it to work right

Here's my fstab right now:

Code:
LABEL=/                 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /proc                   proc    defaults        0 0
none                    /dev/shm                tmpfs   defaults        0 0
/dev/hda5               swap                    swap    defaults        0 0
/dev/cdrom1             /mnt/cdrom              udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom              /mnt/cdrom1             udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0                /mnt/floppy             auto    noauto,owner,kudzu 0 0
/dev/hdb1 /mnt/captive-shared captive-ntfs defaults,noauto 0 0
/dev/hda1 /mnt/win_xp captive-ntfs defaults,noauto,owner 0 0
What can I do to it to fix it?
 
Old 09-24-2004, 07:51 AM   #4
coolfrog
Member
 
Registered: Sep 2004
Location: India
Distribution: Slackware 10.0
Posts: 77

Rep: Reputation: 15
Hi,
In your fstab you can see the last two rows as :

Quote:
/dev/hdb1 /mnt/captive-shared captive-ntfs defaults,noauto 0 0
/dev/hda1 /mnt/win_xp captive-ntfs defaults,noauto,owner 0 0
There are two ways you can go along :
1) replace the 'defaults,noauto,owner' by umask 0000
2) replace he 'defaults,noauto,owner' by uid='Your User ID',gid='Your Group ID'

Hope that helps.
Worth a try.
 
Old 09-30-2004, 05:51 AM   #5
orange400
Member
 
Registered: Mar 2003
Location: Bellevue, WA
Distribution: Arch w/ XFCE
Posts: 834

Original Poster
Rep: Reputation: 30
Tried it, but it didn't do much
 
Old 09-30-2004, 04:25 PM   #6
orange400
Member
 
Registered: Mar 2003
Location: Bellevue, WA
Distribution: Arch w/ XFCE
Posts: 834

Original Poster
Rep: Reputation: 30
bump
 
Old 09-30-2004, 07:31 PM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,680

Rep: Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894
BTW have you read the man page for mount and fstab?

Try the option user?
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
php radio button question jabfinger Programming 5 08-14-2005 10:36 AM
Question on Affero (thanks button) vharishankar LQ Suggestions & Feedback 2 01-09-2005 07:25 PM
How to control the power button in redhat 7.3 like windows XP - please helps ! kikkubey Linux - Hardware 2 10-05-2004 12:48 AM
Konqueror Mouse Button Question abw Mandriva 2 02-06-2004 02:38 PM
the redhat 'start' button ludwig W Linux - Software 1 04-28-2003 04:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:03 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