LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-12-2006, 10:55 PM   #1
PFloyd2002
LQ Newbie
 
Registered: Aug 2005
Posts: 4

Rep: Reputation: 0
fstab and My Documents


I'm currently running Knoppix 4.0.2 on my laptop alongside a small windows XP partition and a large fat32 partition both OS's share. I have my windows Desktop, My Documents, and those kinds of folders on the shared partition. fstab sucessfully mounts the shared partition, except for one detail (well, two). The minor issue is that the partition is mounted as root, but I would like it mounted as 'eric'. Not a big deal..I just have fstab mount with 777 permissions. Herein lies the problem...

When it mounts, all the folders take the 777 permissions except two. "My Documents" and "Favorites". I'm sharing "My Documents" and "Desktop" between both OS's, so I need to have writing permissions. For some reason unknown to me, those two folders have 555 permissions (their subfolders and files have 777, but it won't let me write unless I'm root.) If anyone knows what I can do, please let me know. Here's the fstab line that mounts:

/dev/hda5 /home/eric/hda5 vfat auto,users,exec,umask=000 0 0

Thanks!

-Eric
 
Old 01-13-2006, 04:00 AM   #2
vangelis
Member
 
Registered: Nov 2004
Location: Hellas
Distribution: Zenwalk 6.4
Posts: 337
Blog Entries: 4

Rep: Reputation: 30
try adding this line to the fstab instead of the one you use, windows doesn't really get along with file permissions

/dev/hda5 /home/eric/hda5 vfat noauto,rw,user,users,gid=users,umask=0000,showexec,quiet,utf8=true 0 0
 
Old 01-13-2006, 10:05 AM   #3
PFloyd2002
LQ Newbie
 
Registered: Aug 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks! Seems to have worked, whough I did change the noauto to auto (my background and desktop are on that partition, so I need it to mount before I log in).
 
  


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
fstab problem: mount: can't find dvd in /etc/fstab or /etc/mtab Nikon01 Slackware 5 11-17-2006 06:15 AM
newbie vs fstab. fstab wins :( blop Linux - Newbie 3 01-07-2005 05:54 AM
(version 5.1 chapter 08 fstab) vs (man fstab) rgiggs Linux From Scratch 2 06-03-2004 05:55 PM
Problems mounting "My Documents" from /etc/fstab paul.nel Linux - Networking 6 05-12-2004 10:40 PM
Need any documents cfduser2003 Linux - General 2 08-10-2002 03:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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