4

I recently bought a Raspberry Pi 2 model B, and I installed OpenElec which seems to work as expected, with an external HD plugged in USB. During the setup wizard I enabled Samba, and now I can connect via Finder (OS X 10.11 El Captain) with command smb://192.168.0.10... Once executed the command, I can login as guest or user (root-openelec), but both user type don't give me permission to edit/delete/add files. Whenever I try to do something, I'm asked to login, but then the previous user-password are not accepted anymore..

I went to see samba.conf file in /usr/share/services/samba.conf and it looks like this:

SAMBA_AUTOSHARE="true"
SAMBA_USERNAME="openelec"
SAMBA_PASSWORD="openelec"
SAMBA_SECURE="false"

but those user and pass don't work.

How could I transfer files between my mac and the HD plugged into the raspberry usb?

  • 1
    Who owns the samba directory and what are the permissions? can you also edit your question and add the entire smaba.conf file. – Steve Robillard Dec 29 '15 at 0:27
  • This is actualy the only samba.conf I have on my Rpi. I see there is another one named samba.conf.sample in /storage/.config/. – Yuri Dec 29 '15 at 0:35
  • 1
    And what about the ownership and permissions? Also have you rebooted the Pi? – Steve Robillard Dec 29 '15 at 0:45
  • 3
    You keep IGNORING the question of directory ownership and permissions! – Steve Robillard Dec 29 '15 at 0:47
  • 1
    @SteveRobillard the HD folder owner is root, but any subfolder's owner is 99... I don't know what this means. Permission on HD folder are drwxrwxr-x, while subfolder drwxr-xr-x – Yuri Dec 29 '15 at 10:44
1

I just solved it by reformatting the HDD. From OS X I had to use Disk Utility with following setup: Format: ExFat Scheme: Master Boot Record

Now everything is working as expected. I hope this will help future coming newbie like me.

  • 1
    There were ways of handling this without nuking the contents of the disk, had you given us the info we asked for. – Steve Robillard Dec 29 '15 at 21:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.