Panagiotis,
If I do
/etc/init.d/voyage-sync stop
chown www-data /var/www
then reboot, I find that /var/www is owned by root again.
Permissions of subdirectories within /var/www retain their correct ownership.
So punkytse's method of making /home be an aufs filesystem works, but not
your
Hi,
I have no problem in adding a new user and make the whole /home managed
by tmpfs + aufs.
Make sure you have the latest voyage-sync script, which is available here:
http://voyage.hk:8080/repos/voyage/trunk/voyage-live/config/chroot_local-includes/etc/init.d/voyage-sync
Regards,
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
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