User avatar
yanngael
Posts: 4
Joined: Wed Apr 24, 2013 10:08 am
Location: Montréal, QC, Canada
Contact: Website

Cannot Share ISO in Samba

Sat Apr 04, 2015 3:45 am

Hello!

I have been trying to share the content of an ISO CD through Samba without success: maybe someone could point me what I am doing wrong (or misunderstand).

I have the image of an ISO CD, say CD.iso, and I would like to share its content through Samba. CD.iso is already in a Samba share, called Backup. From other computers, I can access the RPI and access its shares and see the Backup share and the CD.iso file in it.

Then, I create a directory called iso and mount the CD.iso file:

Code: Select all

sudo mount -o loop -t iso9660 CD.iso iso
This directory points to the content of CD.iso as verified through ls -al iso but, when accessing the Backup share, the iso directory now appears like an empty file (at least in Windows 7). Reading in forums here and there, I thought that the problem could come from permissions, so I create another directory iso2 and use bindfs to give it the same permission as all the other files:

Code: Select all

sudo bindfs -u $(id -u) -g $(id -g) iso iso2
but, again, the iso2 directory, which was previously accessible through the Backup share (albeit empty), now appears like an empty file! :?

What am I missing?
Thanks in advance!
Yann
I have seen things you people would not believe. Attack ships on fire off the shoulder of Orion. I watched C-beams glitter in the dark near the Tannhauser gate. All those moments will be lost in time like tears in the rain. Time to die.
—Roy Batty

Return to “Troubleshooting”