Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
04-12-2006, 10:32 AM
|
#1
|
|
LQ Newbie
Registered: Apr 2006
Location: Sittard NL
Distribution: Suse
Posts: 6
Rep:
|
can't access fat partition with normal user account
Hi,
I know this is a question that has been posted a zillion times (if not more...), and I have read a lot about it already. It simply will not work on my box and I am a bit desperate.
I am running a Suse Linux 10.0SS box. The problem:
although I have let Yast edit the fstab and have tried myself a couple of times as well, I can't get user write access on ANY of the fat drives I mounted. I can go into the directory, so the fat partitions are mounted. I can read and write with root access. I just can't write using a user account(which I really need).
So this is how my fstab looks at the moment, the appropriate partitions that is:
/dev/hda1 /windows/Boot vfat users,gid=users,umask=0002,utf8=true 0 0
/dev/hda6 /windows/Documenten vfat user,iocharset=utf8 0 0
/dev/hda9 /windows/Download vfat rw,umask=000 0 0
As you can see I have been trying a bit, but none works.
So then I read somewhere that I should use chmod on the directories, e.g. with a root console: chmod -R 777 .... Interestingly enough, the permissions are NOT changed, if any partition is mounted. If they are not mounted, I can clearly see the permissions being changed. So I am guessing, here is where the problem lies. I just for the love of God can't see the solution...
Thanks in advance
|
|
|
|
04-12-2006, 11:17 AM
|
#2
|
|
LQ Newbie
Registered: Feb 2006
Location: Alabama
Distribution: Fedora Core
Posts: 21
Rep:
|
Maybe this post will help you?
http://www.linuxquestions.org/questi...66#post2012466
That whole thread might help, really, but it's a little deep for me. Just looked like what you're asking. 
|
|
|
|
04-12-2006, 12:33 PM
|
#3
|
|
LQ Newbie
Registered: Apr 2006
Location: Sittard NL
Distribution: Suse
Posts: 6
Original Poster
Rep:
|
Hmm,
I think, I found the answer myself. All I needed to do, is to umount the partition using the user account and then mount it again by hand. That was it. Then the permissions were magically changed into what I needed. I never tried it before, cause I was always using a root console to mount and unmount the **** partition.
the trick:
umount /mount_point as user (e.g /mnt/windows)
then
mount /mount_point also as user
|
|
|
|
04-27-2006, 07:56 AM
|
#4
|
|
LQ Newbie
Registered: Nov 2005
Location: eindhoven, the netherlandse
Distribution: Slackware
Posts: 6
Rep:
|
I have about the same problem. I have mounted a vfat partition with mostly music and movies. But sometimes, out of the blue, i cannot delete or create files. Unmount and mount again (as root); it works again. But it keeps changing back to read-only for some reason.
So what is causing this problem, and how can I fix it? I dont feel like unmount,mount.unmount,mount.unmount,mount, you get my drift...
the line from my /etc/fstab:
/dev/hda5 /mnt/d vfat defaults,dev,user,gid=users,uid=jeroensnake,umask=0022 0 0
|
|
|
|
04-27-2006, 11:42 AM
|
#5
|
|
Senior Member
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191
Rep:
|
this is all you need in /etc/fstab, should work fine:
Code:
/dev/hdb1 /mnt/fat vfat users,defaults,umask=000 0 0
I think the problem is in your umask= line, why do you have 4 digits? The above will allow any user to have rwx privlages, adjust acordingly if you don't want execute privlages. ALso, make sure the folder you are mounting it to has the same privlages that you desire.
regards,
...drkstr
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:44 AM.
|
|
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
|
|