ports/107229: sysutils/coreutils: gcp fails to set default ACL

Jukka A. Ukkonen jau at iki.fi
Sun Mar 11 12:00:21 UTC 2007


The following reply was made to PR ports/107229; it has been noted by GNATS.

From: jau at iki.fi (Jukka A. Ukkonen)
To: Mathias.Picker at gmx.de (Mathias Picker)
Cc: bug-followup at 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. + + + +



More information about the freebsd-ports-bugs mailing list