public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Mount point permissions
@ 2001-12-22 14:57 Alvaro Lopes
  2001-12-22 15:05 ` Alexander Viro
  2001-12-22 15:16 ` Alan Cox
  0 siblings, 2 replies; 3+ messages in thread
From: Alvaro Lopes @ 2001-12-22 14:57 UTC (permalink / raw)
  To: Linux Kernel

Hi all

I just created a RAID0-reiserfs filesystem to hold /tmp (I expect to
have some increased performance since my rootfs is on a LVM/RAID5
array). The problem (althrough I can easily override it) is whenever the
new fs is mounted, all permissions on /tmp are overriden (I double
checked on mount options and there seems no option is provided for
mountpoint permissions). So what I get is:

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 ?

Álvaro Lopes


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-12-22 15:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-22 14:57 Mount point permissions Alvaro Lopes
2001-12-22 15:05 ` Alexander Viro
2001-12-22 15:16 ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox