Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-11-2004, 07:04 AM   #1
Registered: Dec 2003
Location: Colombo. (Sri Lanka)
Distribution: RH 9, RH AS 3, Fedora Core
Posts: 65

Rep: Reputation: 15
Unhappy SMB Read/Write Problem


See. I am using two hard disks in my linux box. One contain linux file systems and other one is like this

Device Boot Start End Blocks Id System
/dev/hdd1 * 1 1216 9767488+ 7 HPFS/NTFS
/dev/hdd2 1217 4997 30370882+ f Win95 Ext'd (LBA)
/dev/hdd5 1217 2432 9767488+ c Win95 FAT32 (LBA)
/dev/hdd6 3648 4997 10843843+ c Win95 FAT32 (LBA)
/dev/hdd7 2433 3647 9759456 83 Linux

I config a /dev/hdd6 as a SMB partition (which contain FAT32) , in read/write mode

I can see this share from my win2000 marchine but it is not writerble. In linux i can create files in this partition. When it is access from SMB it is not writerble.

I use chmod 777 but no good result.

help me to share this FAT32 in read/write mode........pls.

Old 05-11-2004, 11:25 AM   #2
Registered: Jul 2003
Posts: 38

Rep: Reputation: 15
lets us see your smb.conf setting , maybe you are missing some config in there!

Old 05-11-2004, 09:52 PM   #3
Registered: Dec 2003
Location: Colombo. (Sri Lanka)
Distribution: RH 9, RH AS 3, Fedora Core
Posts: 65

Original Poster
Rep: Reputation: 15


# workgroup = NT-Domain-Name or Workgroup-Name
workgroup = ptx1

# server string is the equivalent of the NT Description field
server string = samba server

log file = /var/log/samba/%m.log
max log size = 0
security = DOMAIN
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd

unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*

pam password change = yes
obey pam restrictions = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

password server =
guest ok = yes
guest account = dhammika
dns proxy = no

path = /mnt/l_soft
writeable = yes
guest ok = yes
Old 05-12-2004, 11:03 AM   #4
LQ Newbie
Registered: May 2004
Posts: 3

Rep: Reputation: 0

I have in my smb.conf:

path = /mnt/example
read only = no
guest ok = yes

But I think you must first mount the partition (in your case the hdd6) in read/write in your linuxbox.

In my /etc/fstab there is:
/dev/hda1 /mnt/hda1 vfat user,umask=2000 0 0
/dev/hda5 /mnt/hda5 vfat user,umask=2000 0 0
/dev/hda6 /mnt/hda6 vfat users,owner,rw,umask=000 0 0
/dev/hda7 /mnt/hda7 vfat users,owner,rw,umask=000 0 0
/dev/hda8 /mnt/hda8 vfat users,owner,rw,umask=000 0 0

I hope it works for you to, let us know ...


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Read write problem on CD-RW and floppy in FC4 anthonyt Fedora 1 10-28-2005 02:21 AM
smb.conf assistance on read/write server jer2eydevil88 Linux - Newbie 9 09-28-2005 07:26 PM
Example share in smb.conf doesn't work - read/write vs read only kleptophobiac Linux - Networking 0 09-01-2004 07:14 PM
How can I do an automated Read/Write SMB mount for a normal user? molear Linux - Newbie 1 07-01-2004 02:45 PM
Open office read only, K-write read/write mode lwtvh Linux - Newbie 1 07-19-2003 11:33 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:51 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration