From marck@donkey.rinet.ru  Mon Sep 26 13:00:57 2005
Return-Path: <marck@donkey.rinet.ru>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 8144F16A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 26 Sep 2005 13:00:57 +0000 (GMT)
	(envelope-from marck@donkey.rinet.ru)
Received: from donkey.rinet.ru (donkey.rinet.ru [195.54.192.75])
	by mx1.FreeBSD.org (Postfix) with ESMTP id CB08943D48
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 26 Sep 2005 13:00:56 +0000 (GMT)
	(envelope-from marck@donkey.rinet.ru)
Received: from donkey.rinet.ru (localhost [127.0.0.1])
	by donkey.rinet.ru (8.13.4/8.13.4) with ESMTP id j8QD0s2S030894
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 26 Sep 2005 17:00:54 +0400 (MSD)
	(envelope-from marck@donkey.rinet.ru)
Received: (from marck@localhost)
	by donkey.rinet.ru (8.13.4/8.13.4/Submit) id j8QD0skQ030893;
	Mon, 26 Sep 2005 17:00:54 +0400 (MSD)
	(envelope-from marck)
Message-Id: <200509261300.j8QD0skQ030893@donkey.rinet.ru>
Date: Mon, 26 Sep 2005 17:00:54 +0400 (MSD)
From: Dmitry Morozovsky <marck@freebsd.org>
Reply-To: Dmitry Morozovsky <marck@freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [unionfs] unionfs -b brokes file modes
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         86596
>Category:       kern
>Synopsis:       [unionfs] unionfs -b brokes file modes
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    daichi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 26 13:10:11 GMT 2005
>Closed-Date:    Tue Feb 13 06:09:15 GMT 2007
>Last-Modified:  Tue Feb 13 06:09:15 GMT 2007
>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:
State-Changed-From-To: open->suspended 
State-Changed-By: kris 
State-Changed-When: Fri Sep 30 17:45:01 GMT 2005 
State-Changed-Why:  
unionfs is documented to be broken, so suspend this PR until an interested 
developer emerges. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=86596 

From: Florent Thoumie <flz@xbsd.org>
To: bug-followup@FreeBSD.org,  marck@freebsd.org
Cc:  
Subject: Re: kern/86596: [unionfs] unionfs -b brokes file modes
Date: Wed, 19 Oct 2005 20:12:30 +0200

 This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
 --------------enig3EF4DA03C32AE21F8B79E677
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 
 	This is the normal behavior as documented in mount_unionfs(8),
 	though I agree this might not be the most logical behavior.
 
 	There is an (old) patch in kern/27571 that address this "issue".
 
 -- 
 Florent Thoumie
 flz@FreeBSD.org
 FreeBSD committer
 
 --------------enig3EF4DA03C32AE21F8B79E677
 Content-Type: application/pgp-signature; name="signature.asc"
 Content-Description: OpenPGP digital signature
 Content-Disposition: attachment; filename="signature.asc"
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.1 (Darwin)
 Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
 
 iD8DBQFDVoyVMxEkbVFH3PQRAr0TAJ99LdpNQEhzeSgylqjMnjs9zpySoQCfSULS
 PV/N/qD3SicT/gcEYRfKrFA=
 =NnPE
 -----END PGP SIGNATURE-----
 
 --------------enig3EF4DA03C32AE21F8B79E677--

From: Florent Thoumie <flz@xbsd.org>
To: bug-followup@FreeBSD.org,  marck@freebsd.org
Cc:  
Subject: Re: kern/86596: [unionfs] unionfs -b brokes file modes
Date: Wed, 19 Oct 2005 20:38:40 +0200

 This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
 --------------enig62DD25E7F353318A007212BD
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 
 Actually, it's best described here :
 
 http://lists.freebsd.org/pipermail/freebsd-fs/2005-July/001177.html
 
 -- 
 Florent Thoumie
 flz@FreeBSD.org
 FreeBSD committer
 
 --------------enig62DD25E7F353318A007212BD
 Content-Type: application/pgp-signature; name="signature.asc"
 Content-Description: OpenPGP digital signature
 Content-Disposition: attachment; filename="signature.asc"
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.1 (Darwin)
 Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
 
 iD8DBQFDVpK7MxEkbVFH3PQRAlA/AJ9IggmlLAPv65Fz++7iyrP+lgJWjwCeLr3f
 XkQNOUTle8V4/vOe+ak/D5M=
 =cIo/
 -----END PGP SIGNATURE-----
 
 --------------enig62DD25E7F353318A007212BD--
Responsible-Changed-From-To: freebsd-bugs->daichi 
Responsible-Changed-By: rodrigc 
Responsible-Changed-When: Sun May 28 20:23:21 UTC 2006 
Responsible-Changed-Why:  
daichi is showing interest in unionfs 

http://www.freebsd.org/cgi/query-pr.cgi?pr=86596 
State-Changed-From-To: suspended->closed 
State-Changed-By: rodrigc 
State-Changed-When: Tue Feb 13 06:06:37 UTC 2007 
State-Changed-Why:  
Fixed with new unionfs implementation committed to RELENG_6 and CURRENT. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=86596 
>Unformatted:
