how to write to a mounted fat32 samba share?
I've got a small home LAN -- one file/print server running SuSE Linux 8.2, one desktop, and one laptop. Both the desktop and the laptop have to dual boot into Windows. I have set up the server with 2 hard drives -- one that contains the usual Linux file structure and the other formatted as a FAT32 disk for data only. I have the server mount this driver as /data at boot via a typical fstab entry. I've got samba server running on the server, and I've added the correct users and samba users. Now, I'd like to also have this FAT32 /data drive mounted automatically by the other computers. For testing purposes, I'm trying to get it to mount in the Linux side on the desktop. So, I've got an entry in my desktop fstab that looks like this: //sambaserver/data /home/user/datadirectory smbfs username=(sambauser),password=(sambapassword),rw 0 0 This works and the share is mounted in the home director of the user. The problem is that it is read only. I have added various other options to the fstab entry in addition to the "rw" option already there, such as "gid=(username)", "uid=(username)", "dmask=0777" or "fmask=0777". Nothing seems to make it world-writable. I also have set "Writeable = yes" in the smb.conf file on the server for this share. Could the problem be that I'm trying to mount it twice -- i.e., this /data directory is mounted by the server and then it's mounted again by the client. Is that a problem? I really would like to make this share writeable. Any suggestions or thoughts are very appreciated. Thank you. Charles __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com
<snip>
Now, I'd like to also have this FAT32 /data drive mounted automatically by the other computers. For testing purposes, I'm trying to get it to mount in the Linux side on the desktop. So, I've got an entry in my desktop fstab that looks like this: <snip> I also have set "Writeable = yes" in the smb.conf file on the server for this share. Could the problem be that I'm trying to mount it twice -- i.e., this /data directory is mounted by the server and then it's mounted again by the client. Is that a problem?
Probably not.
I really would like to make this share writeable. Any suggestions or thoughts are very appreciated.
I have the same issue. The issue is that when the share is mounted in this way, it is mounted be root and the permissions seem to get fubared. If you after booting go in as root and unmount the partition and then mount it as user, then you should gain rw to the partition. I still have not figured this out yet though :( -- Marshall "Nothing is impossible, we just do not have all the anwsers to make the impossible, possible."
I have the same issue. The issue is that when the share is mounted in this way, it is mounted be root and the permissions seem to get fubared. If you after booting go in as root and unmount the partition and then mount it as user, then you should gain rw to the partition. I still have not figured this out yet though :(
I use LinNeighborhood. It requires to suid rood the smbmnt file and the smbumount, then it solves the permission problem. You can also use Konqueror to write there. (smb://user@pc - it asks for the password and then you are in). Praise
On Monday 05 May 2003 04:21, Charles Griffin wrote: <snip>
I really would like to make this share writeable. Any suggestions or thoughts are very appreciated.
Do you use "swat" to configure samba? I use this tool to confgiure samba. My setup is similar to yours. Use "swat" to set access rights to all the shares. LW999 <snip>
participants (4)
-
Charles Griffin
-
LinuxWorld999
-
Marshall Heartley
-
Praise