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

mal
Posts: 23
Joined: Sun Nov 14, 2010 10:15 am

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

Postby mal » Wed Mar 09, 2011 5:42 am

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

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

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

Postby bigfoot65 » Wed Mar 09, 2011 6:02 am

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
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

mal
Posts: 23
Joined: Sun Nov 14, 2010 10:15 am

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

Postby mal » Wed Mar 09, 2011 6:23 am

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

mal
Posts: 23
Joined: Sun Nov 14, 2010 10:15 am

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

Postby mal » Wed Mar 09, 2011 6:57 am

Hi

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

Mal

gastone
Posts: 26
Joined: Sun Dec 19, 2010 4:23 pm

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

Postby gastone » Wed Mar 09, 2011 2:35 pm

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

mal
Posts: 23
Joined: Sun Nov 14, 2010 10:15 am

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

Postby mal » Wed Mar 09, 2011 5:13 pm

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]

Who is online

Users browsing this forum: No registered users and 13 guests