NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform.
You will still be able to view content, but posting and replying will be temporarily disabled.
To learn more, please review the information in this blog post.

Software Development Kit (SDK) and API Discussions

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

rh
3,262 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
3,184 Views

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

rh
3,155 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