Software Development Kit (SDK) and API Discussions

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

rh

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

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

naveens17

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

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

rh

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.

Earn Rewards for Your Review!
GPI Review Banner
All Community Forums
Public