LinuxQuestions.org
Visit Jeremy's Blog.
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-22-2006, 03:41 AM   #1
stardotstar
Member
 
Registered: Nov 2002
Location: /au/qld/bne/4157
Distribution: Gentoo mactel-linux
Posts: 238

Rep: Reputation: 30
Ownership or permissions on a FAT32 Volume


Hi,

I have my FAT32 volume mounted automatically to /media/fat

and it and all is contents are owned by root:root

and I cannot chown it to my user which means whenever I need to copy my encoded rip files to windows for listening to at work I have to sudo the task - which is OK in the terminal but I would rather be able to change the perms on at least a folder in that volume that I can copy to from the nautilus...

Any suggestions?

TIA

Will
 
Old 01-22-2006, 04:30 AM   #2
arunvk
Member
 
Registered: Nov 2005
Location: India
Distribution: Fedora 29
Posts: 197

Rep: Reputation: 30
fat32 does not have permissions so u have to pass the permissions thru the fstab file. here is my copy of fstab

# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/ / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/hda1 /win/c vfat rw,exec,noatime,uid=500,,gid=500,user 0 0
/dev/hda5 /win/d vfat rw,exec,noatime,uid=500,,gid=500,user 0 0
/dev/hdb9 /win/d_ak vfat rw,exec,noatime,uid=500,,gid=500,user 0 0
/dev/hda6 /win/e vfat rw,exec,noatime,uid=500,,gid=500,user 0 0
/dev/hdb5 /win/e_avk vfat rw,exec,noatime,uid=500,,gid=500,user 0 0
/dev/hda7 /win/f vfat rw,exec,noatime,uid=500,,gid=500,user 0 0
/dev/hdb6 /win/f_avk vfat rw,exec,noatime,uid=500,,gid=500,user 0 0
LABEL=SWAP-hdb8 swap swap defaults 0 0
/dev/hdd /media/cdrom auto pamconsole,exec,noauto,managed 0 0
/dev/hdc /media/cdrecorder auto pamconsole,exec,noauto,managed 0 0
/dev/fd0 /media/floppy auto pamconsole,exec,noauto,managed 0 0


as u can c iam passing the uid of the user to whom i want to give permissions. modify urs accordingly. if have any doubts abt the parameters then refer 'man mount'
 
Old 01-22-2006, 04:07 PM   #3
stardotstar
Member
 
Registered: Nov 2002
Location: /au/qld/bne/4157
Distribution: Gentoo mactel-linux
Posts: 238

Original Poster
Rep: Reputation: 30
Thank you so much - that was a great help. Works fine now.
 
  


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
Couldn't change ownership on a Fat32 partition kt8993 Linux - Security 2 01-09-2005 10:21 AM
Question about ownership/permissions infornography Linux - Newbie 7 07-28-2004 05:57 AM
write permissions / ownership bynaar Slackware 15 08-08-2002 04:25 AM
fstab, mounting a fat32 partition, need help w/ ownership and all that mackstann Linux - General 2 10-15-2001 02:37 PM
Changing file ownership on Fat32 drives Steave Linux - General 7 07-30-2001 04:14 PM

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

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