Re: mounting /tmp from fstab
On Wed, Feb 23, 2000 at 10:32:27PM -0800, aphro wrote:
> adjust the permissions of /tmp (the mountpoint itself) before mounting the
> filesystem it should get mounted correctly.
actually no, the permissions of the mountpoint are irrelevant as they
are replaced with the permissions of the filesystem being
mounted. (its root directory permission that is)
[root@socrates /var]# ls -ld tmp/
drwxrwxrwt 5 root root 1024 Feb 23 00:55 tmp/
[root@socrates /var]# mount | grep -w /var/tmp
/dev/hda9 on /var/tmp type ext2 (rw,nosuid)
[root@socrates /var]# umount tmp/
[root@socrates /var]# ls -ld tmp/
drwxr-xr-x 2 root root 4096 Jan 11 20:38 tmp/
[root@socrates /var]# mount tmp/
[root@socrates /var]# ls -ld tmp/
drwxrwxrwt 5 root root 1024 Feb 23 00:55 tmp/
[root@socrates /var]#
--
Ethan Benson
Reply to: