Fedora Linux Support Community & Resources Center
  #1  
Old 23rd March 2005, 06:57 AM
Razorblade's Avatar
Razorblade Offline
Registered User
 
Join Date: Mar 2005
Location: Lake Constance, Germany
Age: 33
Posts: 115
Setting permissions for partitions

Yesterday I tried to allow me (as user) to write and read to and from a partition I mounted /Programs following this thread.
/Programs is on /dev/hde2 and is ext3. After some tries it worked fine.

Then I tried to set the same permissions for a vfat partition on /dev/hda2 /Working. I wanted to use this as an interface between Windows and Fedora to share files.
But when I entered "chgrp razorblade /Working" there's a message saying "Cannot set permissions on Hard Drive /dev/hda2" Same error occurs when trying to set permissions for /dev/hde6 /Transfer vfat (as a network share)

All drives are mounted on boot and as root I'm able to read and write from and to these partitions but as razorblade I can only read from the vfat partitions.

fstab says:

/dev/hde2 /Programs ext3 defaults 1 2
/dev/hda2 /Working vfat defaults 0 0
/dev/hde6 /Transfer vfat defaults 0 0

Could anybody please help me?
__________________
  • Razor-Box: AMD Phenom II 945, 4096MB DDR3, MSI (AMD 870), AMD 4850 PCI-E, Fedora_13_x64
  • Server-Box: AMD Sempron 140, 2048MB DDR2, ASROCK (NVIDIA chipset), onboard graphics, CentOS 5.5 x64
  • Myth-Box: AMD X2 4850e, 4GB DDR2, ASUS M3N78-VM, MythDora 10 x64

Last edited by Razorblade; 23rd March 2005 at 08:12 AM. Reason: Corrected mistakes :-)
Reply With Quote
  #2  
Old 23rd March 2005, 07:58 AM
james_in_denver Offline
Registered User
 
Join Date: Oct 2004
Posts: 1,227
Windows doesn't have the same "userid and group" scheme as Linux does.

Just change the "mountpoint" (ie: directory you mount the fat32 partition on) to allow user read-write, something like "chmod 775 /your/windows/mountpoint". and in the "/etc/fstab" file, change the mount opttions for that partition from "default" to "default,user".
__________________
Only dead fish go with the flow....

Hmmm, what did I miss?
Reply With Quote
  #3  
Old 23rd March 2005, 05:14 PM
Razorblade's Avatar
Razorblade Offline
Registered User
 
Join Date: Mar 2005
Location: Lake Constance, Germany
Age: 33
Posts: 115
Thanks James_in_Denver

Somehow chmod does not really affect vfat partitions.

I edited my fstab like this:
Code:
/dev/hda2               /Working    vfat           auto,rw,user,umask=000 
/dev/hde6               /Transfer    vfat           auto,rw,user,umask=000
Works fine! User and root have read/write access.
Thanks again.
__________________
  • Razor-Box: AMD Phenom II 945, 4096MB DDR3, MSI (AMD 870), AMD 4850 PCI-E, Fedora_13_x64
  • Server-Box: AMD Sempron 140, 2048MB DDR2, ASROCK (NVIDIA chipset), onboard graphics, CentOS 5.5 x64
  • Myth-Box: AMD X2 4850e, 4GB DDR2, ASUS M3N78-VM, MythDora 10 x64
Reply With Quote
  #4  
Old 24th March 2005, 05:30 AM
james_in_denver Offline
Registered User
 
Join Date: Oct 2004
Posts: 1,227
No,

"chmod" cannot affect FAT32 partitions, but it CAN affect the mountpoint, and if the mountpoint does not have the proper permisions for "regular users" then the Linux kernel will prevent access before it even gets to the "fat32" filesystem limitations.....
__________________
Only dead fish go with the flow....

Hmmm, what did I miss?
Reply With Quote
Reply

Tags
partitions, permissions, setting

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
file permissions in data partitions 2handband Using Fedora 14 30th December 2008 10:05 PM
Setting Permissions weave Using Fedora 2 11th December 2008 02:41 PM
File permissions for FAT and NTFS partitions krige Using Fedora 4 14th March 2007 01:05 PM
Setting HDD permissions Deathshroud Hardware & Laptops 6 12th September 2004 10:05 PM


Current GMT-time: 23:53 (Tuesday, 18-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat