method

new

new(dir, permissions = DEFAULT_PERMISSIONS)
public

Creates a new TrustDir using dir where the directory and file permissions will be checked according to permissions