LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-09-2004, 02:08 PM   #1
cpp
LQ Newbie
 
Registered: Mar 2004
Posts: 5

Rep: Reputation: 0
Mounting with /etc/fstab


Hi every1.
I'm getting crazy with fstab configuration.
I need to mount a partition that has got share material.
That partition is FAT file system and I need this partition has read and execution privileges, so that could be possible to access it from a browser.
I've read from manuals and I've seen a lot of examples about configuring /etc/fstab configuration file.
One of the examples had this configuration:
/dev/hda7__/share__vfat__user,ro,exec,uid=500__0__0_
It doesn't work. If i make "ls -l" e get:
drwxr--r--___17_root___root___16382_Jan___1___1970__partilha/
and i hould like to get:
rwxr-xr-x___17_root___root___16382_Jan___1___1970__partilha/

I've already tried:
/dev/hda7__/share__vfat__ro,exec__0__0_
/dev/hda7__/share__vfat__rw,exec__0__0_
but it doesn't work at all.

Can anyone help me?

Thanks in advance,
Nuno Paquete.
 
Old 04-09-2004, 02:26 PM   #2
TarrasQ
LQ Newbie
 
Registered: Mar 2004
Location: Oulu, Finland
Distribution: F15
Posts: 23

Rep: Reputation: 0
Seems like uid=500 restricts this to user with id numer 500. (I'm not sure about this.)

Anyway, I use

/dev/hdb8 /mp3 vfat user,ro 0 0
/dev/hdc2 /common vfat user,ro 0 0

to have these FAT32 partitions with rx enabled. So user and ro are what you are looking for.
 
Old 04-09-2004, 02:28 PM   #3
lotheac
Member
 
Registered: Apr 2004
Location: Finland
Posts: 32

Rep: Reputation: 15
Why so many underscores?
Code:
/dev/hda7       /share  vfat    ro,exec,umask=0222   0 0
See if that works...
 
Old 04-09-2004, 03:23 PM   #4
cpp
LQ Newbie
 
Registered: Mar 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Hi lotheac.
"Why so many undescores?"
Because I copy and past from a Knode post.
What can i say...
Well, good news: I've done what you sad and it works perfectly.

Thanks lotheac.
 
Old 04-09-2004, 03:28 PM   #5
lotheac
Member
 
Registered: Apr 2004
Location: Finland
Posts: 32

Rep: Reputation: 15
Oh, great. No problem.
 
  


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
problems with fstab and mounting BlackShadowWolf Fedora 3 03-10-2005 11:09 AM
Problem with mounting and fstab. N00bDeb Debian 7 11-17-2004 05:58 PM
fstab mounting subaruwrx Linux - Newbie 5 10-25-2004 07:36 AM
Mounting ntfs in fstab calimer Mandriva 2 11-28-2003 08:35 AM
fstab mounting Roy-Svork Linux - General 2 06-13-2003 11:34 AM

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

All times are GMT -5. The time now is 12:21 AM.

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