public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Alvaro Lopes <alvieboy@alvie.com>
To: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Mount point permissions
Date: 22 Dec 2001 14:57:23 +0000	[thread overview]
Message-ID: <1009033045.935.1.camel@dwarf> (raw)

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


             reply	other threads:[~2001-12-22 15:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-22 14:57 Alvaro Lopes [this message]
2001-12-22 15:05 ` Mount point permissions Alexander Viro
2001-12-22 15:16 ` Alan Cox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1009033045.935.1.camel@dwarf \
    --to=alvieboy@alvie.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox