Author Topic: Problem writing on a Samba Share  (Read 1713 times)

amdonati

  • Full Member
  • ***
  • Posts: 153
    • View Profile
    • http://
Problem writing on a Samba Share
« on: March 15, 2004, 05:52:30 pm »
Hi,

I am running TKC ROM and wanted to mount the samba partition in my Z on my linux box.

I have the Z connected through USB, but I set up samba to accept connection from the different interfaces as per the howto on this site.

I then connect with: mount -t smbfs //192.168.129.201/home /home/zaurus

The conncection is established, but read only, no matter if I connect as user or as root!

If I then try to use linneighborhood, I can identify correctly my Z (using the IP address), and the program sees the home share, but when I try to connect as guest, the connection is somehow \"lost\" and I cannot mount the samba share.

I am a bit confused, I suspect that the problem could be on my linux desktop, but I do not know what to check.

could someone help me here?

Thank you very much!

Adalberto

PS: Under winxp, the file transfer program works well

tumnus

  • Hero Member
  • *****
  • Posts: 1176
    • View Profile
    • http://www.cpinkney.org.uk
Problem writing on a Samba Share
« Reply #1 on: March 15, 2004, 08:26:01 pm »
You probably need to specify file permission masks using the smbmount options. I use this myself:

smbmount //192.168.129.201/home /zaurus  -o uid=0,gid=100,fmask=0770,dmask=0770
# Search the Zaurus Howtos ## Search the Zaurus FAQs ## Find Z software at ELSI #
--------------------
UK SL5500 with Sharp ROM 3.13, SL5600 with Sharp ROM 1.32 - SuSE 9.0 Pro, Windows XP Home
Qualendar for Calendar and Todo
Socket Bluetooth CF Card (Rev F), Kingmax 512MB MMC Card, Palm Tungsten T Stylus,
Pretec CF->Smartmedia Adapter, Semsons Universal Battery Extender

amdonati

  • Full Member
  • ***
  • Posts: 153
    • View Profile
    • http://
Problem writing on a Samba Share
« Reply #2 on: March 16, 2004, 05:24:19 am »
Thanks Tumnus for the reply, but It does not work  

Here is what I did:
Code: [Select]
bash-2.05b# smbmount //192.168.129.201/home /mnt/zaurus -o uid=0,gid=100,fmask=0770,dmask=0770

Password:

Anonymous login successful

bash-2.05b# cp /mnt/dati/Documenti/Unzip/Zaurus/romburst /mnt/zaurus/SD_Card/

cp: cannot create regular file `/mnt/zaurus/SD_Card/romburst\': No such file or directory


Of course, the romburst file that I tried to copy exists on my desktop!

Maybe it is because I need to log in as guest (I ma using TKCrom 1.0)?
I am a bit confused....

Thanks,
Adalberto

tumnus

  • Hero Member
  • *****
  • Posts: 1176
    • View Profile
    • http://www.cpinkney.org.uk
Problem writing on a Samba Share
« Reply #3 on: March 16, 2004, 05:57:37 am »
Does /mnt/zaurus/SD_Card exist? I would have thought you\'d get a permissions error if it is a permissions problem on your PC side, so it may be a permissions problem on your Zaurus.

What format is your SD card?

Try adding the option \'username=root\'
# Search the Zaurus Howtos ## Search the Zaurus FAQs ## Find Z software at ELSI #
--------------------
UK SL5500 with Sharp ROM 3.13, SL5600 with Sharp ROM 1.32 - SuSE 9.0 Pro, Windows XP Home
Qualendar for Calendar and Todo
Socket Bluetooth CF Card (Rev F), Kingmax 512MB MMC Card, Palm Tungsten T Stylus,
Pretec CF->Smartmedia Adapter, Semsons Universal Battery Extender

amdonati

  • Full Member
  • ***
  • Posts: 153
    • View Profile
    • http://
Problem writing on a Samba Share
« Reply #4 on: March 16, 2004, 08:10:44 am »
Well, I have /mnt/zaurus on the desktop, where the whole Z\'home dir si mounted.

And of course I can write in /mnt/zaurus, as root (after all, it is a \"real\" directory!   ), but the 2 samba shares created in it  (MAIN_MEMORY and SD_CARD), can be seen (and I can copy files from there to my desktop), but I cannot wirte in them.

Using username=root did not help.

The SD is ext2 formatted

Adalberto

omega

  • Hero Member
  • *****
  • Posts: 626
    • View Profile
    • http://
Problem writing on a Samba Share
« Reply #5 on: November 04, 2004, 09:53:13 am »
I seem to have this problem on my c860 with the samba server. I also can't write to /mnt/card (sd) as a user but i can to cf.
Gorgeous C860, 256 Sandisk SD, 1Gig Pretec 40x CF, PDAIR leather case & the really cool retractable iPDA USB sync/charge cable. Powered by PDAXROM BETA 1.

My wish - to have a Command & Conquer style game on my Z! (FREECNC!!!) Simcity 2000 would also be great.