# How to connect to the Freedombox Samba share?

**URL:** <https://discuss.freedombox.org/t/how-to-connect-to-the-freedombox-samba-share/577>\
**Category:** Support\
**Created:** [December 20, 2019, 7:31pm UTC](https://discuss.freedombox.org/t/how-to-connect-to-the-freedombox-samba-share/577 "2019-12-20T19:31:20Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![DonQuishot](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/d/8491ac/32.png) [@DonQuishot](https://discuss.freedombox.org/u/DonQuishot)\
**Post date:** [December 20, 2019, 7:31pm UTC](https://discuss.freedombox.org/t/how-to-connect-to-the-freedombox-samba-share/577/1 "2019-12-20T19:31:20Z")

</div>

I have installed the Samba app and now I am trying to connect from my Linux box, Ubuntu 16.04, to the Freedombox share.

The file manager, named Files, sees the Freedombox and I need to login to get access. I connect as “Registered user” and it asks for the follwoing:

Username:  
Domain: WORKGROUP (default)  
Password:

No matter what I try, sofar, the message is:

Unable to access location  
Failed to mount Windows share: Invalid argument

What are the right incantations to get this working?

---

<div class="post-metadata">

**Author:** ![vexch](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/v/2bfe46/32.png) [@vexch](https://discuss.freedombox.org/u/vexch)\
**Post date:** [December 21, 2019, 1:26am UTC](https://discuss.freedombox.org/t/how-to-connect-to-the-freedombox-samba-share/577/2 "2019-12-21T01:26:57Z")

</div>

There is one known permission [issue](https://salsa.debian.org/freedombox-team/plinth/issues/1729) with the Freedombox. To fix this, log in to the Freedombox and run this command in the terminal:  
`sudo chmod 755 /var/lib/freedombox/`

Does it solve your case? You should be able to connect to the share as “Anonymous” or “Registered user” with any user/password.

---

<div class="post-metadata">

**Author:** ![DonQuishot](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/d/8491ac/32.png) [@DonQuishot](https://discuss.freedombox.org/u/DonQuishot)\
**Post date:** [December 22, 2019, 12:14pm UTC](https://discuss.freedombox.org/t/how-to-connect-to-the-freedombox-samba-share/577/3 "2019-12-22T12:14:46Z")

</div>

Setting the permissions allows me to login/mount indeed. But the shares which have been enabled/ticked do not show up. Should the permissions extend to the subdirectory /var/lib/freedombox/shares?

---

<div class="post-metadata">

**Author:** ![vexch](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/v/2bfe46/32.png) [@vexch](https://discuss.freedombox.org/u/vexch)\
**Post date:** [December 22, 2019, 7:32pm UTC](https://discuss.freedombox.org/t/how-to-connect-to-the-freedombox-samba-share/577/4 "2019-12-22T19:32:50Z")

</div>

Every share should be mounted separately. If you have shared multiple disks, those should show up in the file manager under Network -\> Freedombox. I think permissions are now correct but if you still don’t see other shares, could you send the output of the command (from the Freedombox):  
`sudo net conf list`

---

<div class="post-metadata">

**Author:** ![DonQuishot](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/d/8491ac/32.png) [@DonQuishot](https://discuss.freedombox.org/u/DonQuishot)\
**Post date:** [December 22, 2019, 7:49pm UTC](https://discuss.freedombox.org/t/how-to-connect-to-the-freedombox-samba-share/577/5 "2019-12-22T19:49:24Z")

</div>

> [@vexch](#):
>
> sudo net conf list

[disk]  
path = /var/lib/freedombox/shares/open\_share  
guest ok = yes  
read only = no  
force group = freedombox-share  
inherit permissions = yes

---

<div class="post-metadata">

**Author:** ![vexch](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/v/2bfe46/32.png) [@vexch](https://discuss.freedombox.org/u/vexch)\
**Post date:** [December 22, 2019, 8:23pm UTC](https://discuss.freedombox.org/t/how-to-connect-to-the-freedombox-samba-share/577/6 "2019-12-22T20:23:14Z")

</div>

Try this - go to the Samba configuration page, then refresh the page (F5) and only then enable additional shares.

If it didn’t help, could you send more information (label, mount point, type) about the additional disks you want to share.

---

<div class="post-metadata">

**Author:** ![DonQuishot](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/d/8491ac/32.png) [@DonQuishot](https://discuss.freedombox.org/u/DonQuishot)\
**Post date:** [December 23, 2019, 2:51pm UTC](https://discuss.freedombox.org/t/how-to-connect-to-the-freedombox-samba-share/577/7 "2019-12-23T14:51:51Z")

</div>

Refreshing and then enabling did not make a difference. Below a screenshot of the disk(s) shared:

 ![samba-shares](https://discuss.freedombox.org/uploads/default/original/1X/241df290ca0c789c8db8528ba91526214c4e3d28.png)

---

<div class="post-metadata">

**Author:** ![vexch](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/v/2bfe46/32.png) [@vexch](https://discuss.freedombox.org/u/vexch)\
**Post date:** [December 23, 2019, 3:15pm UTC](https://discuss.freedombox.org/t/how-to-connect-to-the-freedombox-samba-share/577/8 "2019-12-23T15:15:55Z")

</div>

Let me know if I understand your problem correctly. You have enabled sharing on device /dev/mmcblk0p3 and this works correctly (as you said you can mount ‘disk’ share). And you want to enable a share on device /dev/mmcblk0p2 and this doesn’t work?

---

<div class="post-metadata">

**Author:** ![DonQuishot](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/d/8491ac/32.png) [@DonQuishot](https://discuss.freedombox.org/u/DonQuishot)\
**Post date:** [December 23, 2019, 3:22pm UTC](https://discuss.freedombox.org/t/how-to-connect-to-the-freedombox-samba-share/577/9 "2019-12-23T15:22:06Z")

</div>

Nope,

I have enabled sharing on /dev/mmcblk0p3. The Freedombox shows up on my File Manager and with the permissions set I can now enter/mount the disk/share. But no files and or directories are shown. There is just an empty space shown. In short the content of the share is not shown, even though it is enabled and I can enter as an anonymous user or registered user in the File Manager.

---

<div class="post-metadata">

**Author:** ![vexch](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/v/2bfe46/32.png) [@vexch](https://discuss.freedombox.org/u/vexch)\
**Post date:** [December 23, 2019, 3:32pm UTC](https://discuss.freedombox.org/t/how-to-connect-to-the-freedombox-samba-share/577/10 "2019-12-23T15:32:42Z")

</div>

By default, a share should be empty because only one directory is shared (/var/lib/freedombox/shares/open\_share). Can you copy files to this mounted share from your desktop PC?

---

<div class="post-metadata">

**Author:** ![DonQuishot](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/d/8491ac/32.png) [@DonQuishot](https://discuss.freedombox.org/u/DonQuishot)\
**Post date:** [December 23, 2019, 3:40pm UTC](https://discuss.freedombox.org/t/how-to-connect-to-the-freedombox-samba-share/577/11 "2019-12-23T15:40:43Z")

</div>

Ah, OK, I misunderstood the concept of a share then. I thought I would be able to traverse through all files and directories on the partition once enabled for sharing. Still learning here… Thanks for your patience.

And I can indeed copy files to this mounted share from my linux box.
