[25098] trunk/base/src/darwinports1.0/darwinports.tcl

Randall Wood rhwood at mac.com
Sun May 13 17:52:04 PDT 2007


Don't you need to create ~/.macports with rwe (700), so that the user  
can at least cd into it and edit preference files in it?

On 13 May 2007, at 20:20, source_changes at macosforge.org wrote:

> Revision 25098 Author jberry at macports.org Date 2007-05-13 17:20:27  
> -0700 (Sun, 13 May 2007) Log MessageIf we need to create  
> ~/.macports, create it as 600, with ownership of the enclosing  
> directory.Modified Paths
> trunk/base/src/darwinports1.0/darwinports.tcl
> Diff
> Modified: trunk/base/src/darwinports1.0/darwinports.tcl (25097 =>  
> 25098)--- trunk/base/src/darwinports1.0/darwinports.tcl	2007-05-14  
> 00:09:58 UTC (rev 25097) +++ trunk/base/src/darwinports1.0/ 
> darwinports.tcl	2007-05-14 00:20:27 UTC (rev 25098) @@ -224,6  
> +224,7 @@ } } + proc dportinit {{up_ui_options {}} {up_options {}}  
> {up_variations {}}} { if {$up_ui_options eq ""} { array set  
> ui_options {} @@ -269,7 +270,12 @@ # Ensure that the macports user  
> directory exists set darwinports::macports_user_dir [file normalize  
> $darwinports::autoconf::macports_user_dir] - file mkdir  
> $macports_user_dir + if { ![file exists $macports_user_dir] } { + #  
> If not, create it with ownership of the enclosing directory, rw by  
> the user only +	 file mkdir $macports_user_dir +	 file attributes  
> $macports_user_dir -permissions u=rw,go= +	 file attributes  
> $macports_user_dir -owner [file attributes "$macports_user_dir/.." - 
> owner] + } # Configure the search path for configuration files set  
> conf_files ""
> _______________________________________________
> macports-changes mailing list
> macports-changes at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/macports-changes



Randall Wood
rhwood at mac.com
http://shyramblings.blogspot.com

"The rules are simple: The ball is round. The game lasts 90 minutes.  
All the
rest is just philosophy."





More information about the macports-dev mailing list