[MacPorts] #26918: MacPorts-1.9.1 compiled to XFS NFS files system

MacPorts noreply at macports.org
Tue Mar 6 18:54:23 PST 2012


#26918: MacPorts-1.9.1 compiled to XFS NFS files system
-------------------------------------+--------------------------------------
 Reporter:  rletourneau@…            |       Owner:  macports-tickets@…                   
     Type:  defect                   |      Status:  new                                  
 Priority:  Normal                   |   Milestone:                                       
Component:  base                     |     Version:  1.9.1                                
 Keywords:                           |        Port:                                       
-------------------------------------+--------------------------------------

Comment(by mathew.eis@…):

 I can confirm seeing the same issue. We see it regardless of whether the
 underlying nfs filesystem is xfs or ext3.

 The culprit appears to be in 'proc fileAttrsAsRoot {file attributes} {' in
 share/macports/Tcl/port1.0/portutil.tcl

 Specifically, the line 'eval file attributes {$file} $attributes' is
 trying to run (among other things), the following TCL command, which
 fails:

 file attributes /path/to/foo -readonly 0

 Arguments about whether running MacPorts on a network aside, would it be
 possible to subvert this command? It seems to me unnecessary to forcibly
 state that a file should NOT be read-only.

-- 
Ticket URL: <https://trac.macports.org/ticket/26918#comment:7>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list