LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 11-11-2005, 02:01 PM   #1
telestudent
LQ Newbie
 
Registered: Mar 2005
Location: Iowa
Distribution: fc3
Posts: 14

Rep: Reputation: 0
Unhappy Filesystem Permissions


I have been having a heck of a time getting the permissions on a VFAT filesystem set so that other users can write to it. As root I try and change the permissions and it does nothing. I try and change the owner and it won't allow it. If I unmount the filesystem and just change the permissions on the mount point it works......until I remount the filesystem and everything reverts to the way it was. the line in my fstab file looks something like this.

/dev/hda5 /mnt/FAT32 vfat defaults 1 1

Does anyone have any suggestions as to what is keeping me from allowing others to write to this harddrive?

I'm using it as network storage in a Windows workgroup using SAMBA. Samba is set to permit read/write but with no results.
 
Old 11-11-2005, 02:08 PM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
I haven't done this for quite a while but here are some notes:
To make it writable for users with a group id of 500, edit the /etc/fstab file to include the following line /dev/hdb1 /mnt/win vfat gid=500,umask=002 0 0

To give the user complete control of that directory, try something like this in the fstab....
/dev/hdb1 /mnt/win vfat uid=500,gid=500,umask=000 1 0
 
Old 11-11-2005, 02:08 PM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
use "umask=000" in your fstab options. where do you suppose those file permission changes are being stored?? fat certyainly can't handle them...

also, change ther options at the end of that line from 1 1 to 0 0.

but ultimatwly, don't use fat32!! why are you???
 
Old 11-11-2005, 06:38 PM   #4
telestudent
LQ Newbie
 
Registered: Mar 2005
Location: Iowa
Distribution: fc3
Posts: 14

Original Poster
Rep: Reputation: 0
It's a dual boot windows machine and I'm trying to phase out the Windows partition and convert solely to Linux. Until I get everything working though I don't want to loose workgroup access, thus FAT32. I haven't researched my alternatives fully yet either. I'm concerned about maximum directory limits. I may have to look into several partitions, one for each user. It is definitely a work in progress. Any suggestions?
 
Old 11-12-2005, 02:05 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
what did you want suggestions about? you shouldn't really be risking any filesystem limits., but you've not really provided details about your requirements
 
Old 11-12-2005, 10:43 AM   #6
telestudent
LQ Newbie
 
Registered: Mar 2005
Location: Iowa
Distribution: fc3
Posts: 14

Original Poster
Rep: Reputation: 0
I apologize, I was pretty vague wasn't I. I have 5 other people in the windows workgroup. My goal is to create a large shared network resource that everyone can utilize. I do occasionally store large iso images (>6GB) and I want to be sure that the file system can support that. I believe I said directory limits in my previous post, I meant file size limits. My mistake. (I currently use NTFS for for this purpose.) So my request for suggestions was in reference to a file system that I could eventually convert the FAT32 into. I am still going to do my own research of course, but sometimes the best resources are those who know the systems better than yourself. The ability to store very large files is currently my biggest concern. I'm sure I will find other positives and negatives as I proceed but maximum file size is my greatest concern right now.
 
Old 11-12-2005, 11:04 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
an ext3 partition with a block size of 1k apparently has a max file size of 16GB. with an 4k block size, that increases to 2TB. ReiserFS can support upto 1EB.

note that you can not "convert" fat32 to a native linux filesystem, not gonna happen. and you can't use NTFS as a high capacity data store under linux. ntfs support is "beta" at best. I guarentee you 100% that you will lose data instantly if you even try using NTFS on something the size you are suggesting.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
case sensitive Filesystem without permissions enemorales Linux - General 3 08-19-2005 05:32 AM
I want weird filesystem permissions iluvatar Linux - Security 8 03-11-2005 09:01 AM
Mounting NTFS filesystem with permissions krymsunmortis Slackware 7 04-29-2004 04:37 PM
How to change permissions for Mounted Filesystem leroy27336 Linux - General 3 11-15-2003 03:08 AM
permissions on read only filesystem niehls Linux - Software 4 06-08-2002 12:36 AM

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

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