LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   SMB Read/Write Problem (https://www.linuxquestions.org/questions/linux-networking-3/smb-read-write-problem-180259/)

dhammika 05-11-2004 07:04 AM

SMB Read/Write Problem
 
Hi----------


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.

Tks.

emilioestevezz 05-11-2004 11:25 AM

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

:)
Emilio

dhammika 05-11-2004 09:52 PM

Yes....................

[global]

# 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 = 192.168.5.13
guest ok = yes
guest account = dhammika
dns proxy = no

[l_soft]
path = /mnt/l_soft
writeable = yes
guest ok = yes

sandbert 05-12-2004 11:03 AM

Hi,

I have in my smb.conf:

[example]
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 ...


All times are GMT -5. The time now is 09:38 AM.