Page 1 of 1

How to use greyhole on my home shares?

Posted: Sun Aug 15, 2010 5:40 am
by kenzu
Hey

I like the idea of greyhole and have played with it a little.
But I can't find a "clean" way of using greyhole on my home dirs "/home/myuser".
The problem is that samba shares all home dirs so only the specific user can see it's own dir and I can't make a share in amahi control panel to a user dir and then change permissions so only that user can see it. The name will conflict or error like no space left on share (from my macbook).

Is there a "clean" way to set it up?

Tanks
Jesper

Re: How to use greyhole on my home shares?

Posted: Sun Aug 15, 2010 12:19 pm
by gboudreau
No, there is no way to do this safely.

Content of Greyhole shares should not be accessed directly on the server, and that's what would happen with user's home directories.

Why would you want to do this?

Re: How to use greyhole on my home shares?

Posted: Sun Aug 15, 2010 2:52 pm
by kenzu
I will only access the home dirs from network. No desktop on server.
To give users a private dir with greyhole safety.
To me it's a little odd that samba as default shares home dirs if I cannot use greyhole on them.
The files you what to keep/safe the most is your private files and pictures.
Please help me if it's posible so how.

Re: How to use greyhole on my home shares?

Posted: Sun Aug 15, 2010 3:45 pm
by gboudreau
If it's only to access via Samba, you shouldn't try to share /home/xyz
Share another path instead.

Here, I had no issue creating a custom share 'media', for my Linux user of the same name, from the Amahi Dashboard.
I set /var/hda/files/media as the shared path, and enabled Greyhole on it. I set Permissions to Access and Writeable only to user 'media'.
This new share replaced the default 'media' share (/home/media), when connecting using user 'media' on my Samba server.

Here's how it looks in the Amahi Dashboard:
Image