LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 02-24-2004, 04:17 AM   #1
demmylls
Member
 
Registered: Aug 2003
Location: AT
Distribution: Fedora Core 3
Posts: 404

Rep: Reputation: 30
vfat partition permmission problems


i had my f and g drive which is FAT32 filesystem mounted using fstab and i use command shown below:-
/dev/hda10 /f vfat auto,umask=0 0 0
/dev/hda11 /g vfat auto,umask=0 0 0


with that command at laiseng account i can create read,write, execute and rename files and folders in /g but not to files and folders deeper then /g
e.g /g/software , /g/xyz and etc

under umask=0 0 0 i should have universal permmission to do anything to that files and folders inside /g but i cant do changes or even rename files and folder deeper then /g/.

so i change fstab to:-
/dev/hda10 /f vfat auto,umask=7 7 5 (which is rwxrwxr-x to normal users)
/dev/hda11 /g vfat auto,umask=7 7 5 (which is rwxrwxr-x to normal users)
but when i bootup system i got this message:-
warning: FAT32 support is in ALPHA

now that my /f and /g is on umask-7 7 5 i want to create a "lls123" folder using konqueror in /f/mymp3s/Directory it gives me an error message saying "access denied to /f/mymp3s/lls123" [OK Button].

strange thing happens to /g
===================
In theory i cant chmod a vfat partition right?
i've done
# chmod -Rv a+rwx /g
and all the files and folder changes from rwxr-x-r-x to rwxrwxrwx.

after chmod to /g i can have full access to /g which means i can read, write, cut and paste, rename, and etc

will chmod damage my vfat partition on /g?

i'm using kernel 2.6.3
 
Old 02-24-2004, 06:02 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Quote:
/dev/hda10 /f vfat auto,umask=7 7 5 (which is rwxrwxr-x to normal users)
/dev/hda11 /g vfat auto,umask=7 7 5 (which is rwxrwxr-x to normal users)
but when i bootup system i got this message:-
warning: FAT32 support is in ALPHA
You can use chmod on the unmounted directory but chmod shouldn't affect any files in the partition.

The option umask=7 really means umask=007. umask is the opposite of chmod i.e. umask=000 means full read/write access and umask=777 is no access.

The last two digits are for dump and fsck. The warning about FAT32 support refers to fsck performing a filesystem check at boot. I've read posts that fsck works with FAT32 now but I would still leave it at 0 0. See man pages fstab for additional info.

I do know if vfat support if any changed with the 2.6 kernel for chmod. You could check the kernel docs.
 
Old 02-24-2004, 02:44 PM   #3
demmylls
Member
 
Registered: Aug 2003
Location: AT
Distribution: Fedora Core 3
Posts: 404

Original Poster
Rep: Reputation: 30
i've tried with umask=000 but i still get "access denied to" message when i'm doing cut /f/mp3s/bonjovi and paste it to /f/mp3s/male/

i've also tried using gid=500 (id 500 belongs to laiseng account)
i've set laiseng to be root group and root to be laiseng group.

when i used gid=500 i cant even access /f and /g

but uid=500 works very well that i can rwx but i think root account wont have full access right?

Last edited by demmylls; 02-24-2004 at 02:45 PM.
 
  


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 mounting vfat partition oDyman Slackware 6 11-11-2004 05:18 AM
VFat Partition for dv8r Linux - Hardware 1 10-26-2004 07:52 AM
Permission problems in a vfat shared partition ReachingFarr Linux - Newbie 4 10-04-2004 07:09 AM
vfat partition mikedeatworld Linux - Hardware 1 10-01-2004 05:20 PM
Problems writing to vfat partition GoddessPrime Linux - Newbie 2 09-28-2003 07:56 PM

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

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