LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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-05-2003, 12:24 PM   #1
totococo
LQ Newbie
 
Registered: Nov 2003
Posts: 3

Rep: Reputation: 0
read/write remote access to fat32 via samba


Hello !

I am new here, and I expect you guys can solve my problem

It as been a week I try to transfer a win2k server to mandrake 9.2
Hard job, since Linux was fairly new to me.

Anyway, I am almost there, but there is still a problem I coul'nt solve.
Using webmin, I did every manipulation I could, but I was not able to gain write access to the fat32 partition mounted on the linus server.

All the files on the disk seem to be property of 'administrator" user (same password as root) being administrator, I can read and write from a remote wink2 , from Linux too, BUT
Being anyone else, I can only read, and this applies to a local login, no user can write to that partition.

I already read lots of posts on this forum and on some others, but nothing worked. (use of umask mounting the drive...)
I do not really need a write access in Linux, but this seem to be a need to be able to get a remote write access (I read somewhere something about local read/write rights overriding samba rights)

Thank you for your help
 
Old 11-05-2003, 03:54 PM   #2
Faecal
Member
 
Registered: Sep 2002
Location: York, UK
Distribution: Debian Sid
Posts: 215

Rep: Reputation: 30
I'm not a samba expert, but I do have some experience in using fat32 from linux. The thing to bear in mind is that fat32 sucks: it simply doesn't store the kind of information that a filesystem like ext does (or NTFS, for that matter). As such, upon mounting a fat32 partition, the kernel has to make some things up, such as the owner of the file. By default, this will be root, but you can edit /etc/fstab to give any other user ownership on the files in a fat32 filesystem. Assigning proper per-user privileges isn't possible AFAIK. There's really no very good reason for using FAT32 unless you're on a dual-booting machine (doesn't sound like it in this case) or you've got important stuff and no way to back it up for transferring to a new partition.

Perhaps I'm being overly pessimistic, and someone else can contribute.
 
Old 11-06-2003, 04:00 AM   #3
totococo
LQ Newbie
 
Registered: Nov 2003
Posts: 3

Original Poster
Rep: Reputation: 0
problem solved !

Ok thank you for your help;

I can understand you guys have been a bit puzzled by my question, the problem beeing so simple to solve.
I did not now the mounting was not refreshed by changing login. fstab is only used at startup ! So all the changes I tried were mere, since I never tried to shutdown.
thanks to other posts on this forum, it works !
Tim
 
  


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
Mounted read-write Fat32 partition suddenly becomes read-only?? hohead Linux - General 8 04-05-2007 01:17 PM
read/write to fat32 doesn't work anymore jnev Linux - General 10 09-11-2005 10:23 PM
fat32 partition, ordinary users read/write quietbyday Linux - General 1 08-02-2005 12:31 AM
Mounting fat32 drives with read/write access in Fedora a1ex_007 Red Hat 3 03-23-2005 01:38 PM
Getting write access to FAT32 wgself Red Hat 1 01-16-2004 09:48 AM


All times are GMT -5. The time now is 06:02 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration