Author Topic: shared directories only in RO in WinXP  (Read 3162 times)

amdonati

  • Full Member
  • ***
  • Posts: 153
    • View Profile
    • http://
shared directories only in RO in WinXP
« 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

bastichelaar

  • Full Member
  • ***
  • Posts: 112
    • View Profile
    • http://www.xerys.nl
shared directories only in RO in WinXP
« Reply #1 on: May 31, 2004, 06:03:41 pm »
use \"writable = yes\"...
Visit my website...
--------------------------
C860
 - 512 MB SD Kingston
 - 256 MB PQI 40x
 - Socket BT rev. G
 - Asus wlan
--------------------------
RUNNING FLUXBOX!

amdonati

  • Full Member
  • ***
  • Posts: 153
    • View Profile
    • http://
shared directories only in RO in WinXP
« Reply #2 on: May 31, 2004, 06:43:14 pm »
I tried but It did not work :-(
Always Read Only

Adalberto

dtruchan

  • Jr. Member
  • **
  • Posts: 89
    • View Profile
    • http://
shared directories only in RO in WinXP
« Reply #3 on: May 31, 2004, 08:18:50 pm »
Try setting the umask option to 022 when you mount the share.
860 Debian EABI
Lexar Cards
WCF11 v2.5
Mittoni SD-CF Adapter
Gentoo

amdonati

  • Full Member
  • ***
  • Posts: 153
    • View Profile
    • http://
shared directories only in RO in WinXP
« Reply #4 on: June 01, 2004, 03:23:14 pm »
Sorry, how should I set it, and where?
I should do umask /home/samba/ 022 ?

Adalberto

dtruchan

  • Jr. Member
  • **
  • Posts: 89
    • View Profile
    • http://
shared directories only in RO in WinXP
« Reply #5 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
860 Debian EABI
Lexar Cards
WCF11 v2.5
Mittoni SD-CF Adapter
Gentoo

amdonati

  • Full Member
  • ***
  • Posts: 153
    • View Profile
    • http://
shared directories only in RO in WinXP
« Reply #6 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

amdonati

  • Full Member
  • ***
  • Posts: 153
    • View Profile
    • http://
shared directories only in RO in WinXP
« Reply #7 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