mkdir.remote: Creates a remote directory with the specified group ownership...

Description Usage Arguments Note

View source: R/mkdir.R

Description

If the directory already exists, attempts to set the group ownership to the user.group. The allowed group permissions are one of c("g+rwx", "g+rx", "go-w", "go-rwx"), or "-". The value "-" means "don't change permissions".

Usage

1
2
mkdir.remote(path, user.group = NULL, remote = "",
  permissions = c("g+rwx", "g+rx", "go-w", "go-rwx", "-"))

Arguments

path

Directory path. If using remote, this should be a full path or a path relative to the user's home directory.

user.group

The user group. If NULL, the default group is used.

remote

Remote machine specification for ssh, in format such as user@server that does not require interactive password entry. For local execution, pass an empty string "" (default).

permissions

The group permissions on the directory. Default is 'rwx'.

Note

This may not work on Windows.


collectivemedia/ssh.utils documentation built on May 13, 2019, 9:54 p.m.