Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Sep 2003 10:36:21 +0100
From:      Lewis Thompson <purple@lewiz.net>
To:        FreeBSD-hackers <hackers@freebsd.org>
Subject:   mount_unionfs directory permissions.
Message-ID:  <20030919093620.GC5850@lewiz.org>

next in thread | raw e-mail | index | archive | help

--k+w/mQv8wyuph6w0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

This is the first time I've posted to -hackers and I apologise in
advance since it's not strictly what I expect goes on here (and have
read on Google Groups).  However, the question I want to ask is best
answered here, I think.

  I've been playing with mount_unionfs but get stuck when it comes to
permissions.  I'm using it in the context of a ``base'' jail.  The
mount_unionfs man page states:

Filenames are looked up in the upper layer and then in the lower layer.
If a directory is found in the lower layer, and there is no entry in the
upper layer, then a shadow directory will be created in the upper layer.
It will be owned by the user who originally did the union mount, with
mode ``rwxrwxrwx'' (0777) modified by the umask in effect at that time.

  What I want to know is why?  Could there not be an option to inherit
the permissions of the file/directory?

  Thanks very much,

-lewiz.

--=20
I was so much older then, I'm younger than that now.  --Bob Dylan, 1964.
------------------------------------------------------------------------
-| msn:purple@lewiz.net | jab:lewiz@jabber.org | url:http://lewiz.net |-

--k+w/mQv8wyuph6w0
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/as4UItq0KFQv7T8RAnZeAJ4rfdE6LwsR6F/cc+AmeuqPgCneigCggMOm
/Qk+COtRwRQvB5nQwS8fI4w=
=OtWB
-----END PGP SIGNATURE-----

--k+w/mQv8wyuph6w0--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030919093620.GC5850>