Yet another samba problem

Hello dear readers. I have been a student of osmc for a long time. My latest problem (like 6 months) has been a samba and im stuck, so i registered to this forum to find some help. I have already read threads from here but no help.

I have raspberry pi 3 with latest osmc update. I have usb-hdd (named Toshiba) and its formatted to ntfs. I have installed samba from osmc store. I can find my Toshiba with my Windows computer and i can read files, but i cant write/delete/rename files.

Where should i start to get help from here? How do i paste logs and another stuff you guys need?

BR
Aletzi1

Well how to post logs should have been shown you on the pinned Thread after you joined. ANyhow below are the details.

To get a better understanding of the problem you are experiencing we need more information from you. The best way to get this information is for you to upload logs that demonstrate your problem. You can learn more about how to submit a useful support request here.

So, in summary:

  • activate the logging
  • reboot the OSMC device
  • reproduce the issue
  • upload the log set either using the Log Uploader method within the My OSMC menu in the GUI or the ssh method invoking command grab-logs -A
  • publish the provided URL from the log set upload, here

Thanks for your understanding. We hope that we can help you get up and running again shortly.

1 Like

So i have made clean install earlier today of OSMC. But i noticed that after i install Samba from the shop, my skin will change from kodi to osmc, my manually entered ip adress will change to auto-dhcp.

And my problem still is, i cant write/delete/rename files on Toshiba usb-hdd.

Here is the log files!
https://paste.osmc.tv/eyifiviwuf

This would indicate a broken SD Card. Suggest to try this test.
touch test1234 reboot and then run ls -lah test1234

Provide URL from

ls -lah /media/Toshiba | paste-log and also try touch /media/Toshiba/test12345

I got new Samsung 32gb microsd-card, i hope its not broken already.
Here is the test result
osmc@osmc:~$ ls -lah test1234
-rw-r–r-- 1 osmc osmc 0 Aug 21 12:39 test1234

https://paste.osmc.tv/cixurugaca

That looks Ok, but I wonder why else it could have happened.

That second ls of the disk looks also right. So when you issue the touch command no error message? Can you run again ls -lah /media/Toshiba | paste-log and post the URL

No error messages when i run touch command.
Here is the log you asked :slight_smile: https://paste.osmc.tv/doyedizozo

So my first issue was i cant write / delete files from Toshiba. But now i have also another problem, skin is changing and also my static ip is changing to dynamic ip.

So you are saying that continuous to happen after reboot?

Yes, even i reboot my raspberry, skin is not what i have set it and ip is not 192.168.1.115.

That definitely points to a trouble SD Card. As you haven’t installed anyting sofar I suggest to run test with H2Testw on the SD Card.

We suspect an issue with your SD card. For that we suggest the following procedure on a Windows OS to verify the card’s correctness:

  1. Download the official SD Memory Card Formatter from the SD Association you can find at
    Downloads | SD Association

  2. Re-format the card using this tool. It will be visible in Windows as drive letter.

  3. Download the h2testw tool you can find
    at Ihre Suche | heise Download
    (Unfortunately the web page is in German but strictly follow the download buttons, english info about the tool can be found here H2testw English Windows | Fake Flash Memory Information - FlashChipDirector)

  4. Run h2testw and test the SD card.

We hope your card is still fine but keep in mind SD cards have a limited lifespan. In case of errors with h2testw we recommend you to change the SD card. If you would like to get a good quality SD card manufactured for OSMC, then you can find one in the Store.

1 Like

Hi. I put the test running. I installed fresh OSMC to brand new Sandisk Ultra 64gb microsd card.
Now my skin is saved and my ip adress is what i want it to be.

Now lets go into my original problem. How can i get permissions to write, delete, rename files on my Toshiba usb hdd?

EDIT:
I dont know was it a sd or what, but after changing sd-card, i can use my files on usb hdd as i wanted (I can write, delete, rename)

Thanks m8, i will write to this thread if i got any new problems!

Can you run cat /etc/mtab | paste-log please?

Edit: OK - glad you got it sorted

1 Like