SOLVED: New files cannot be seen by users

uslacker
Posts: 38
Joined: Mon Nov 29, 2010 9:00 am

Re: New files cannot be seen by users

Postby uslacker » Wed Sep 06, 2017 6:15 pm

Yes they are Greyhole shares and yes the users are HDA users.
It is bothering me that I cannot figure it out (I'm a 30 yr IT vet.)
I'm going to post this to SuperUser for help.

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

Re: New files cannot be seen by users

Postby bigfoot65 » Wed Sep 06, 2017 6:18 pm

Could it be that Greyhole needs to do a fcsk before the files will be viewable to all users?

Just a thought. Do you have the mount_shares_locally service installed? Not sure it would help, but thought I'd ask.

Can't say I have ever had this issue. Really perplexing.
ßîgƒσστ65
Applications Manager

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

uslacker
Posts: 38
Joined: Mon Nov 29, 2010 9:00 am

Re: New files cannot be seen by users

Postby uslacker » Wed Sep 06, 2017 6:46 pm

Thanks for persisting. I've run a greyhole fsck (and I think it runs weekly by default). Yes, I have mount_shares_locally running and those mounts show all the files but then they are mounted under my ID.

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

Re: New files cannot be seen by users

Postby bigfoot65 » Thu Sep 07, 2017 5:42 am

Try creating a new user. Then see if it can see the files.

Curious if that makes a difference.
ßîgƒσστ65
Applications Manager

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

uslacker
Posts: 38
Joined: Mon Nov 29, 2010 9:00 am

Re: New files cannot be seen by users

Postby uslacker » Thu Sep 07, 2017 7:22 pm

I posted this to SuperUser and Guillaume Boudreau helped me find the problem. In the end, the Linux permissions & ownership were wrong. One of my drives mounted at /var/had/files/drives had permissions set to 700. The other was owned by root:root at the mount point. I had been checking the permissions at the share level (/var/hda/files and /var/hdaa/files/drives/drivex/share)

The trick to solving it was cool. He has me su to one of the broken users and walk the data tree from the root until I saw a permissions error.

Thanks again for the help.

\\Greg

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

Re: New files cannot be seen by users

Postby bigfoot65 » Fri Sep 08, 2017 2:39 am

Ah, makes sense. Didn't think to check the mounts.

Glad it's resolved. Will mark as closed.
ßîgƒσστ65
Applications Manager

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

Who is online

Users browsing this forum: No registered users and 17 guests