[Bug 251363] use unionfs as a disk-cache for NFS [feature]

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Nov 28 05:46:15 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251363

Gunther Schadow <raj at gusw.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://bugs.freebsd.org/bu
                   |                            |gzilla/show_bug.cgi?id=2514
                   |                            |33

--- Comment #14 from Gunther Schadow <raj at gusw.net> ---
Cross referencing the bug 251433 I just filed, since that is in fact a real
bug.

The question is does it really matter to me? What is my workaround?

Clearly I need to be able to make the copy on the upper layer. And it is root
that must make that copy. The effective user id to decide if the VOP_CREATE is
allowed must be root, or whatever user did the mount_unionfs. Not the user
accessing the file right now.

The owner uid and gid should be exactly that from the lower layer. Not the euid
of the user accessing the file.

I need to understand how this VOP_CREATE ultimately works. 

Note that it seems to work right with the shadow directories. So that might be
a clue.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list