lkml.org 
[lkml]   [2001]   [Dec]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Mount point permissions
Date
From
> dwarf:~# ls -ld /tmp
> drwxrwxrwt 8 root root 336 Dez 22 14:55 /tmp
> dwarf:~# mount /dev/RAID0VOL/TEMP /tmp
> dwarf:~# ls -ld /tmp
> drwxr-xr-x 2 root root 48 Dez 22 14:45 /tmp
>
> Shouldn't mount preserve original mountpoint permissions ?

It does. If you umount it you will get them back. mount replaced "/tmp"
with the root inode of your new volume, hence the change. Fix the root
inode of the new fs and all will be happy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:14    [W:0.052 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site