Well, that indeed works because /home is owned by root. But if I only want to have the /home/someuser/somefolder, owned by someuser, inside tmpfs, then after aufs mount, it is no longer owned by someuser but by root instead. Currently I fixed this by chowning from rc.local, but I was wondering if there is a more elegant solution.<br>
<br><br><div class="gmail_quote">On Mon, Feb 16, 2009 at 7:58 AM, Kim-man 'Punky' TSE <span dir="ltr"><<a href="mailto:punkytse@punknix.com">punkytse@punknix.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
I have no problem in adding a new user and make the whole /home managed by tmpfs + aufs. <br>
Make sure you have the latest voyage-sync script, which is available here:<br>
<a href="http://voyage.hk:8080/repos/voyage/trunk/voyage-live/config/chroot_local-includes/etc/init.d/voyage-sync" target="_blank">http://voyage.hk:8080/repos/voyage/trunk/voyage-live/config/chroot_local-includes/etc/init.d/voyage-sync</a><br>
<br>
Regards,<br>
Punky<br>
<br>
Panagiotis Malakoudis wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">
I've been experimenting a little with the voyage-sync script. For an application of mine, I wanted to have some folders of the home directory of a specific user inside the tmpfs. I added the folder in the /etc/default/voyage-util and it is copied correctly, but the problem is that the folder after the aufs mount is owned by root and not by user. Is there any way to change this (apart from chowning after mount) ?<br>
<br>
Also, if you use dhcp3-server or dhcp3-client, you also need to put /lib/dhcp3 in the voyage-sync folders. Since quite a few people might use these services, it would be nice to have this from the installation.<br>
<br></div>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Voyage-linux mailing list<br>
<a href="mailto:Voyage-linux@list.voyage.hk" target="_blank">Voyage-linux@list.voyage.hk</a><br>
<a href="http://list.voyage.hk/mailman/listinfo/voyage-linux" target="_blank">http://list.voyage.hk/mailman/listinfo/voyage-linux</a><br>
<br>
</blockquote>
<br>
<br>
-- <br>
Regards,<br>
Punky<br>
<br>
Voyage Solutions (<a href="http://solution.voyage.hk" target="_blank">http://solution.voyage.hk</a>)<br>
* Embedded Solutions and Systems<br>
- Mesh Networking, Captive Portal, IP Surveillance, VoIP/PBX<br>
- Network Engineering, Development Platform and Consultation<br>
<br>
<br>
</blockquote></div><br>