Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Mar 2007 12:00:20 GMT
From:      jau@iki.fi (Jukka A. Ukkonen)
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/107229: sysutils/coreutils: gcp fails to set default ACL
Message-ID:  <200703111200.l2BC0KX6033570@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/107229; it has been noted by GNATS.

From: jau@iki.fi (Jukka A. Ukkonen)
To: Mathias.Picker@gmx.de (Mathias Picker)
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/107229: sysutils/coreutils: gcp fails to set default ACL
Date: Sun, 11 Mar 2007 13:50:21 +0200 (EET)

 Quoting Mathias Picker:
 > 
 > This problem still exists. The update to coreutils 6.7 does nothing to
 > solve it. Now asking the coreutils mailing list.
 
 	Apparently the problem is that gcp tries to set the default
 	ACL also on non-directory files.
 	The current FreeBSD manual pages explain that default ACLs
 	are only allowed for directories. And since default a ACL is
 	something a new file or directory created under an existing
 	directory should inherit by default as their initial ACLs,
 	this makes perfect sense.
 
 	The correct behaviour for gcp would be to either
 	- not even try to set the default ACL for anything else but
 	directories or
 	- ignore the error returned unless the target is a directory.
 
 	Apparently some other environments allow setting default ACLs
 	for non-directory files and quietly ignore the issue, though,
 	setting the default value makes no sense, because other files
 	can inherit their initial ACLs only from the defaults set to
 	their parent directories.
 
 
 	Cheers,
 		// jau
 .---  ..-  -.-  -.-  .-    .-  .-.-.-    ..-  -.-  -.-  ---  -.  .  -.
   /    Jukka A. Ukkonen,                             Oxit Ltd, Finland
  /__   M.Sc. (sw-eng & cs)                    (Phone) +358-500-606-671
    /   Internet: Jukka.Ukkonen(a)Oxit.Fi        (Home) +358-9-6215-280
   /    Internet: jau(a)iki.fi
  v
         .---  .-  ..-  ...-.-  ..  -.-  ..  .-.-.-  ..-.  ..
 + + + + My opinions are mine and mine alone, not my employers. + + + +



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