IPWorks Cloud 2020 macOS Edition

Questions / Feedback?

SetPermission Method

Assigns the given permission to a resource.

Syntax

public func setPermission(path: String, permission: String) throws -> Void

Remarks

This method assigns the given Permission to the resource at Path.

Permission must be formatted as an octal permission string. If Permission is empty string, the resource's permission will be reset to the server default (755).

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 macOS Edition - Version 20.0 [Build 8265]