tunblick/installer.m

changeset 6
fe330a707a9f
parent 1
1a5334dfb21d
     1.1 --- a/tunblick/installer.m	Wed Jul 29 11:37:50 2009 +0200
     1.2 +++ b/tunblick/installer.m	Wed Jul 29 11:44:56 2009 +0200
     1.3 @@ -37,24 +37,19 @@
     1.4  			[NSArray arrayWithObjects:@"-R",@"root:wheel",thisBundle,nil]
     1.5  			);
     1.6  
     1.7 -	
     1.8  	runTask(
     1.9  			@"/bin/chmod",
    1.10 -			[NSArray arrayWithObjects:@"-R",@"755",tunPath,tapPath,nil]
    1.11 -			);
    1.12 -	
    1.13 -	runTask(
    1.14 -			@"/bin/chmod",
    1.15 -			[NSArray arrayWithObjects:@"744",
    1.16 +			[NSArray arrayWithObjects:@"755",
    1.17  				tunExecutable,
    1.18  				tapExecutable,
    1.19 -				helperPath,
    1.20 +				tunPath,
    1.21 +				tapPath,
    1.22  				openvpnPath,
    1.23  				nil]
    1.24  			);
    1.25  	runTask(
    1.26  			@"/bin/chmod",
    1.27 -			[NSArray arrayWithObjects:@"4111",helperPath,nil]
    1.28 +			[NSArray arrayWithObjects:@"4555",helperPath,nil]
    1.29  			);
    1.30  	[pool release];
    1.31  	return 0;

mercurial