5 // Created by Claudio Bisegni on 21/06/07.
6 // Copyright 2007 INFN - National Institute of Nuclear Physics. All rights reserved.
9 #import <Cocoa/Cocoa.h>
12 @interface FileUtil
: NSObject
{
13 AuthUtil
*autorization
;
18 -(OSStatus
) startAutorization
;
19 -(OSStatus
) autorizedMoveFile
:(NSString
*)srcPath toPath
:(NSString
*)dstPath
;
20 -(OSStatus
) autorizedChown
:(NSString
*)filePath owner
:(NSString
*)owner group
:(NSString
*)group
;
21 -(OSStatus
) autorizedCopy
:(NSString
*)srcPath toPath
:(NSString
*)dstPath
;
22 -(OSStatus
) autorizedDelete
:(NSString
*)destFilePath
;
23 -(void) endAutorization
;