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

naveens17

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

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.

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public