If you’ve got a Raspberry Pi (if you don’t, please go order one right now), and use Xbian (a great version of XBMC for Pi) you may have connected to your Pi via SMB but noticed it’s read only. Fixing this (to read / write) only takes a few seconds.
Provided you already have Xbian installed and your Pi is connected to your network and you know the address (something like 192.168.x.x – or you should be able to simple use “Xbian”), you can:
- On a PC, download and run Putty. Putty is a great – free – ssh terminal app.
- Enter your Pi’s ip (or “Xbian”) in the host name textbox.
- Click Open to connect to the Pi.
- Enter the default username: xbian and password: raspberry
- At the prompt, enter: sudo nano /etc/usbmount/usbmount.conf
- In Nano (a text editor) find the line: SMBSHARE=no
- Change SMBSHARE=no to SMBSHARE=yes
- Exit Nano and save (Control+X, Y).
- You should now be able to connect to you Pi in Windows using SMB with \\XBIAN\ or find your Pi in your Network and have write permission.
Happy downloading AND uploading.
6 thoughts on “Enabling SMB / Samba Write on Xbian (XBMC for Raspberry Pi)”
Didn’t work for me. Does this have to do with the fact that a usbmount.conf is being changed where the SD-card contains the OS?
With the new version, you have a little modification in the same file :
SMBSHARE ==> SHARESMB
And this is only if you want to activate /media sharing.
For Read/Write, it’s the next option : SHAREW
Have Fun 🙂
LikeLiked by 2 people
It can also be done with the GUI. (running 13.1 beta2)
Thanks this saved me 🙂
thanks very much i was banging my head againsta wall
LikeLiked by 1 person
Just made a xbian-kodi image today (dated 20160301) using the installer, works on the TV, tried to restart samba from the TV, it fails (System, Settings, Xbian, services, samba restart). Any ideas?