OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Sharp ROMs => Topic started by: amdonati on May 30, 2004, 05:42:51 am

Title: shared directories only in RO in WinXP
Post by: amdonati on May 30, 2004, 05:42:51 am
Hi,
I managed to setup samba on TKC ROM1 to make my Z visible in WinXP (for some reasons I had to give the IP range in interfaces, giving only the \"interfaces = ppp0, usb0 ecc\" did not work) while using a BT PAN connection.

Now I can connect to my Z shares, but the problem is that the connecction is only RO!

I tried to change the permission in XP, or to connect using ZAURUSroot as user, but no success, I always receive an error.

Do you have any idea on what could I do to solve this?

Here is my Smb.conf file:

Code: [Select]
[root@zaurus ~]# cat /usr/lib/samba/smb.conf

[global]

# workgroup is either a domain name or a workgroup name

        workgroup = FAM_DONATI

        netbios name = Zaurus

        log file = /dev/null

#

# encrypt passwords is required for Win98, NT and Windows 2000

#

        encrypt passwords = yes



        coding system = utf8

        client code page = 932

        force create mode = 0755

        strict sync = yes

        sync always = yes



#       interfaces = usbd0 eth0 bnep0 irda0 ppp0

        interfaces = 192.168.129.0/24

#       wins support = yes

#       bind interfaces only = yes

[system]

        comment = System Folder

        path = /root/samba

        read only = no

        browseable = no

        guest ok = yes

        force user = root

[home]

        comment = for User Data

        path = /home/samba

        short preserve case = no

        read only = no

        guest ok = yes

        force user = zaurus


Thank you,
Adalberto
Title: shared directories only in RO in WinXP
Post by: bastichelaar on May 31, 2004, 06:03:41 pm
use \"writable = yes\"...
Title: shared directories only in RO in WinXP
Post by: amdonati on May 31, 2004, 06:43:14 pm
I tried but It did not work :-(
Always Read Only

Adalberto
Title: shared directories only in RO in WinXP
Post by: dtruchan on May 31, 2004, 08:18:50 pm
Try setting the umask option to 022 when you mount the share.
Title: shared directories only in RO in WinXP
Post by: amdonati on June 01, 2004, 03:23:14 pm
Sorry, how should I set it, and where?
I should do umask /home/samba/ 022 ?

Adalberto
Title: shared directories only in RO in WinXP
Post by: dtruchan on June 01, 2004, 07:04:14 pm
I havn\'t done it in a while, so the syntax might be off,
but it\'s something like this:

Code: [Select]
smbmount //xp/share /mnt/smb -o umask=022,username=user,password=pass
Title: shared directories only in RO in WinXP
Post by: amdonati on June 04, 2004, 12:23:14 pm
OK, bu this is for mounting a win partition on the Z., my problem is moutning the Z partition on XP. It is there were they are mounted RO!
Sigh! :-(
Adalberto
Title: shared directories only in RO in WinXP
Post by: amdonati on June 07, 2004, 10:16:25 am
I tried to mountmy Zaurus samba partitions on my gentoo box and again I have the same problem, I can see and mount them but only Read Only.
It is definetly a Zaurus Issue, but I cannot understand where is the problem!  
Adalberto