Effective December 3, NetApp adopts Microsoft’s Business-to-Customer (B2C) identity management to simplify and provide secure access to NetApp resources.
For accounts that did not pre-register (prior to Dec 3), access to your NetApp data may take up to 1 hour as your legacy NSS ID is synchronized to the new B2C identity.
To learn more, read the FAQ and watch the video.
Need assistance? Complete this form and select “Registration Issue” as the Feedback Category.

Software Development Kit (SDK) and API Discussions

Manipulating permissions via ZAPI?

kevingraham

file-create-directory appears to be the only file-* interface that accepts permissions, documented or otherwise. Does anyone have recommendations on how to manipulate filesystem permissions via zapi (even something via system-cli)?

2 REPLIES 2

aborzenkov

The obvious question - which permissions? There could be at least three disjoint permission sets - Unix, NTFS and NFS v4. NTFS could be changed using fsecurity command invocation (via system-cli). I do not know if it is possible to directly manipulate Unix or NFS v4 permissions.

kevingraham

aborzenkov wrote:

The obvious question - which permissions?

Pedantic answer, whichever one is reported in file-info/perm or the file equivalent of file-create-directory/perm  (but yeah, the UNIX permission bits).

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