tunblick/MenuController.m

changeset 6
fe330a707a9f
parent 1
1a5334dfb21d
child 7
0c0e4024a98e
     1.1 --- a/tunblick/MenuController.m	Wed Jul 29 11:37:50 2009 +0200
     1.2 +++ b/tunblick/MenuController.m	Wed Jul 29 11:44:56 2009 +0200
     1.3 @@ -1003,7 +1003,7 @@
     1.4  		NSString *octalString = [NSString stringWithFormat:@"%o",perms];
     1.5  		NSNumber *fileOwner = [fileAttributes fileOwnerAccountID];
     1.6  		
     1.7 -		if ( (![octalString isEqualToString:@"744"])  || (![fileOwner isEqualToNumber:[NSNumber numberWithInt:0]])) {
     1.8 +		if ( (![octalString isEqualToString:@"755"])  || (![fileOwner isEqualToNumber:[NSNumber numberWithInt:0]])) {
     1.9  			NSLog(@"File %@ has permissions: %@, is owned by %@ and needs repair...\n",currentPath,octalString,fileOwner);
    1.10  			return YES;
    1.11  		}

mercurial