I just did a fresh install of Mandrake 10.0 on my laptop (AMD XP 1400+). I have two mount points:
/dev/hda3 --> /
/dev/hda7 --> /home
It originally came with /tmp in / , which has attributes drwxrwxrwt.
Now, for some reason, I really want to move /tmp to /home/tmp (i.e. move /tmp to the second partition, but as a part of the second filesystem). So I made tmp subdir in the /home, and it already has attributes drwxrwxrwt before this relocation.
So here's my config in fstab:
Code:
/home/tmp /tmp none bind 0 0
Do you know what happens? Every now and then, the /tmp permission was reset to drwxr-xr-x !! Then many programs would scream because they can't write to /tmp. Is this automatic of Mandrake (which, as I could tell, contains quite a bit of magic here and there), or what? Is it because this kind of trick is not allowed? (I.e. am I not supposed to remount /home/tmp as /tmp)? Should I just make a softlink from /tmp to /home/tmp?
NOTES:
* Linux Kernel: 2.6.3-7mdk.