Software Development Kit (SDK) and API Discussions

Is it possible to change file/directory ownerships via ONTAPI?

rh
2,434 Views

Is there a way, please, to use ONTAPI to change the ownership of a file or directory created via ONTAPI?

 

I used "file-write-file", "file-create-directory" APIs successfully but the new files/directories are assigned "root" as their user & group ownership.

 

 

All ideas gratefully welcomed!

 

 

 

Regards,

 

Richard.

2 REPLIES 2

naveens17
2,356 Views

Did you checked vserver security file-directory command..?

rh
2,327 Views

Hi

 

Thanks for the suggestion -- I did look at that API but doesn't it only apply to volumes / qtrees with NTFS security, please?

 

The volumes I am working with all have the 'UNIX' security model.

 

Regards,

 

Richard.

Public