set

object set

Set the filesystem permissions of the file/folder at the given path

Note that if you want to create a file or folder with a given set of permissions, you can pass in an os.PermSet to os.write or os.makeDir. That will ensure the file or folder is created atomically with the given permissions, rather than being created with the default set of permissions and having os.perms.set over-write them later

class Object
trait Matchable
class Any
set.type

Value members

Concrete methods

def apply(p: Path, arg2: PermSet): Unit