perms

object perms extends Path => PermSet

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

trait Path => PermSet
class Object
trait Matchable
class Any
perms.type

Type members

Classlikes

object set

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

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

Value members

Concrete methods

def apply(p: Path): PermSet
def apply(p: Path, followLinks: Boolean): PermSet

Inherited methods

@unspecialized
def andThen[A](g: PermSet => A): Path => A
Inherited from:
Function1
@unspecialized
def compose[A](g: A => Path): A => PermSet
Inherited from:
Function1
override def toString(): String
Definition Classes
Function1 -> Any
Inherited from:
Function1