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)

[EMAIL PROTECTED] /var]# ls -ld tmp/
drwxrwxrwt    5 root     root         1024 Feb 23 00:55 tmp/
[EMAIL PROTECTED] /var]# mount | grep -w /var/tmp
/dev/hda9 on /var/tmp type ext2 (rw,nosuid)
[EMAIL PROTECTED] /var]# umount tmp/
[EMAIL PROTECTED] /var]# ls -ld tmp/
drwxr-xr-x    2 root     root         4096 Jan 11 20:38 tmp/
[EMAIL PROTECTED] /var]# mount tmp/
[EMAIL PROTECTED] /var]# ls -ld tmp/
drwxrwxrwt    5 root     root         1024 Feb 23 00:55 tmp/
[EMAIL PROTECTED] /var]#

-- 
Ethan Benson

Reply via email to