Page 1 of 1

Files only visible to the admin user - can you help, please?

Posted: Wed Mar 09, 2011 5:42 am
by mal
Hi,

Can you help guide me where to start diagnosing this problem, please?

I re-created from fresh a Fedora 14 and Amahi 6 system at the last week (Thursday).

I reloaded all my movies and music into the Amahi folders, then added the two extra drives I have then added them to the greyhole share pool.

Everything has been fine until I added a 2nd user to the Amahi system in order that I can share the movies and music with another pc that runs Windows Media Centre.

When I open the Movie share, as an example, the new user can see all the folders but when you try to open them, they are empty but to this new user only ..... the original user who is the admin can still see the folders and their contents.

so I was a bit flumoxed .....

Today I added a couple of new movies to the var/hda/files/movies folder and the new files *were* visible to the new user and so were their contents. Great I thought ..... until Greyhole ran and moved them into the drive1 & drive2 folders leaving only the links in the folder.

Now the new user cannot see the files in the folders again although the original admin user can still see them fine.

In the Amahi Shares page Access is checked as Visible and Permissions set for All Users and Writeable.

I can produce all the diagnosis info you want/need, but I just wondered if you recognised this as a quick fix?

Thanks in advance
Mal

Re: Files only visible to the admin user - can you help, ple

Posted: Wed Mar 09, 2011 6:02 am
by bigfoot65
What are you using for a client? Also, have you installed the mount shares locally service for Greyhole. It is critical if you are working directly on the HDA.

See the wiki for more info on how to install the service.

http://wiki.amahi.org/index.php/Mount_Shares_Locally

Re: Files only visible to the admin user - can you help, ple

Posted: Wed Mar 09, 2011 6:23 am
by mal
What are you using for a client? Also, have you installed the mount shares locally service for Greyhole. It is critical if you are working directly on the HDA.

See the wiki for more info on how to install the service.

http://wiki.amahi.org/index.php/Mount_Shares_Locally

Hi

Thanks for the tip - I haven't done that but would that affect access from remote machines?

I am accessing the files (or trying to ;) ) from a Windows Media Centre ... the same behaviour is observed from my mac too

Mal

Re: Files only visible to the admin user - can you help, ple

Posted: Wed Mar 09, 2011 6:57 am
by mal
Hi

I have installed the "Mount shares locally" from the wiki and it's made no difference :( .

Mal

Re: Files only visible to the admin user - can you help, ple

Posted: Wed Mar 09, 2011 2:35 pm
by gastone
I found in another post in the forum that setting correct permissions will solve the problem...
Running the following command as root for all drives sould do the trick.

chmod 0775 /var/hda/files/drives/drive1

Re: Files only visible to the admin user - can you help, ple

Posted: Wed Mar 09, 2011 5:13 pm
by mal
I found in another post in the forum that setting correct permissions will solve the problem...
Running the following command as root for all drives sould do the trick.

chmod 0775 /var/hda/files/drives/drive1

Thanks for pointing me in the right direction bud.

what I actually had to do was ...

Code: Select all

chmod -R 775 /var/hda/files/drives/drive1 chmod -R 775 /var/hda/files/drives/drive2
to include the sub folders and it seems to have done the trick (I have tested the Mac and will try the Media Centre tomorrow.

Once again - Thanks to the Amahi Community
Mal[/color]