Software Development Kit (SDK) and API Discussions

Highlighted

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

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
Highlighted

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

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

Highlighted

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

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.

Check out the KB!
Knowledge Base
All Community Forums