tunblick/installer.m

changeset 18
8ec65b8f6e2c
parent 1
1a5334dfb21d
equal deleted inserted replaced
0:407267426a03 1:483dc1f7637f
35 runTask( 35 runTask(
36 @"/usr/sbin/chown", 36 @"/usr/sbin/chown",
37 [NSArray arrayWithObjects:@"-R",@"root:wheel",thisBundle,nil] 37 [NSArray arrayWithObjects:@"-R",@"root:wheel",thisBundle,nil]
38 ); 38 );
39 39
40
41 runTask( 40 runTask(
42 @"/bin/chmod", 41 @"/bin/chmod",
43 [NSArray arrayWithObjects:@"-R",@"755",tunPath,tapPath,nil] 42 [NSArray arrayWithObjects:@"755",
44 );
45
46 runTask(
47 @"/bin/chmod",
48 [NSArray arrayWithObjects:@"744",
49 tunExecutable, 43 tunExecutable,
50 tapExecutable, 44 tapExecutable,
51 helperPath, 45 tunPath,
46 tapPath,
52 openvpnPath, 47 openvpnPath,
53 nil] 48 nil]
54 ); 49 );
55 runTask( 50 runTask(
56 @"/bin/chmod", 51 @"/bin/chmod",
57 [NSArray arrayWithObjects:@"4111",helperPath,nil] 52 [NSArray arrayWithObjects:@"4555",helperPath,nil]
58 ); 53 );
59 [pool release]; 54 [pool release];
60 return 0; 55 return 0;
61 } 56 }
62 57

mercurial