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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-09-2004, 02:08 PM
|
#1
|
LQ Newbie
Registered: Mar 2004
Posts: 5
Rep:
|
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.
|
|
|
04-09-2004, 02:26 PM
|
#2
|
LQ Newbie
Registered: Mar 2004
Location: Oulu, Finland
Distribution: F15
Posts: 23
Rep:
|
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.
|
|
|
04-09-2004, 02:28 PM
|
#3
|
Member
Registered: Apr 2004
Location: Finland
Posts: 32
Rep:
|
Why so many underscores?
Code:
/dev/hda7 /share vfat ro,exec,umask=0222 0 0
See if that works...
|
|
|
04-09-2004, 03:23 PM
|
#4
|
LQ Newbie
Registered: Mar 2004
Posts: 5
Original Poster
Rep:
|
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.
|
|
|
04-09-2004, 03:28 PM
|
#5
|
Member
Registered: Apr 2004
Location: Finland
Posts: 32
Rep:
|
Oh, great. No problem. 
|
|
|
All times are GMT -5. The time now is 06:58 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|