Page 1 of 1

Problem: Files don't show up in shares on windows??

Posted: Thu Jan 20, 2011 12:21 am
by TheDealMaster
Hello everyone. I've spent hours working on this issue and researching it online, but I just can't seem to get anywhere, so I kindly ask you to lend your brains. :)

Anyway, I set up a F14 amahi server the other day and was quite pleased with it. The main problem I'm having is that when I try to view files on the shares on windows, it fails to return anything. The only time files work is for the couple of seconds after I put them on there before greyhole does its thing and puts it on multiple drives. I suspect the issue is something to do with symlinks, as that is the main difference. Directories/folders show up on windows, but all of the files don't. This is the only thing that makes sense, and I even edited the smb.conf file and added "follow symlinks = yes" to the global section, with no success.

I'm super stumped and I hope the community has some idea as to what I missed.

Thanks in advance!

Re: Problem: Files don't show up in shares on windows??

Posted: Thu Jan 20, 2011 1:21 pm
by bigfoot65

Re: Problem: Files don't show up in shares on windows??

Posted: Thu Jan 20, 2011 9:32 pm
by TheDealMaster
Thanks, yes I have.

I actually got some errors trying to set it up so I haven't been able to use it. I don't know if the files would show up or not. I'll give it some more effort in the next few hours.

Re: Problem: Files don't show up in shares on windows??

Posted: Sat Jan 22, 2011 10:05 pm
by murphy360
I am having a similar issue with F12. When i mount shares locally everything looks to be in place (i see all files as if they were actually there) When i try to access the shares from my Win 7 computer or my Macbook all i see are the directories. I installed the Amahi DLNA server and I can access my music files through WMP (skips a little but that's a different issue). I'm not too up to date with how symlinks work, but i get the feeling that the problem is getting windows to interact or "play nice" with them.

Any help would be huge...

Re: Problem: Files don't show up in shares on windows??

Posted: Mon Jan 24, 2011 12:53 am
by TheDealMaster
Hello. I have updates!

I got mount_shares_locally to work correctly. Unfortunately, files don't show up any better in the host than in windows. I can browse to the mounted shares, but I still can't see any files. All of the directory structure is there, but all files are nowhere to be found. I can still go to the shares and see the follow the symlinks to the files' actual path on the greyhole drives, but they don't show otherwise.

Thanks again in advance for any help anyone can offer, I'm completely stumped by all of this.

Re: Problem: Files don't show up in shares on windows??

Posted: Mon Jan 24, 2011 4:09 am
by cpg
After looking at this in some detail, all looks ok, however, the files are not visible. This looks like a genuine bug ... maybe a samba setting we lost?

Re: Problem: Files don't show up in shares on windows??

Posted: Tue Jan 25, 2011 10:27 pm
by TheDealMaster
I just wanted to follow up and say that I ended up just reinstalling the entire system to fix the issue. :)
Also, I want to make a big shout out to cpg and the other people on #amahi the past few days, thanks a lot for your awesome effort throughout the whole process. I wouldn't have a working HDA without you guys. I plan to be active in the community to help others like you helped me.

Re: Problem: Files don't show up in shares on windows??

Posted: Wed Jan 26, 2011 2:23 pm
by TheDealMaster
I'm sad to say that after about 24 hours of flawless performance from my HDA, my inital problem is back again, with a twist.

i can view the files properly via /mnt/samba using locally_mount_shares. The issue is now present with windows though.
I'm pulling my hair out on this one.

Re: Problem: Files don't show up in shares on windows??

Posted: Thu Jan 27, 2011 12:16 am
by TheDealMaster
Thanks to cpg, my HDA is working again! (for the moment ;) )

For anyone who is interested, my greyhole mounts got their pemissions changed somehow and nothing was allowed to be read.
All I had to do was:

Code: Select all

chmod 0775 /var/hda/files/drives/drive1 chmod 0775 /var/hda/files/drives/drive2
Now the main question is how did these permissions get changed!? I certainly didn't do it. :? :? :? :? :? :?


I will update the appropriate wiki page with this info within the next day.