kern/86596: [unionfs] unionfs -b brokes file modes

Dmitry Morozovsky marck at FreeBSD.org
Mon Sep 26 06:10:12 PDT 2005


>Number:         86596
>Category:       kern
>Synopsis:       [unionfs] unionfs -b brokes file modes
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 26 13:10:11 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Morozovsky
>Release:        FreeBSD 6.0-BETA5 i386
>Organization:
Cronyx Plus LLC (RiNet ISP)
>Environment:


>Description:

non-readonly below unionfs mounts botches file modes when accessing files.


>How-To-Repeat:

# mkdir /var/tmp/unionfs
# cd /var/tmp/unionfs
# mkdir 1 2
# cp -p /bin/sh 1
# mount -t unionfs -o-b /var/tmp/unionfs/1 /var/tmp/unionfs/2
# ls -l /var/tmp/unionfs/2
total 106
-r-xr-xr-x  1 root  wheel  108472 Sep 25 19:00 sh
# /var/tmp/unionfs/2/sh
# exit
# ls -l /var/tmp/unionfs/2
total 106
-rw-r--r--  1 root  wheel  108472 Sep 26 13:17 sh
# 


>Fix:

N/A for the moment, sorry.
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list