Actions after mounting

Overview

Learn about the actions available with SBFS once your project has been mounted. Each action's availability in read-write and read-only modes is specified.

Notes describe certain behaviors of the actions where applicable. Since there are multiple ways to perform these actions, such as via the command line interface or another application, the actual methods for these actions will not be described.

List a directory

read-write: Available
read-only: Available

Create a file

read-write: Available
read-only: Available

📘

  • Allowed characters in file names are all alphanumerics and special characters except slash (/). File names can’t be longer than 255 characters.

Write a file

read-write: Available
read-only: Not available

Write to a file after it has been created but before it is closed. Only sequential write is supported. Once the file is closed, it becomes immutable.

Execute a file

read-write: Available
read-only: Not available

You need to have execute permissions on a particular file to perform this action. The permissions are set during when the file is mounted.

Delete a file

read-write: Available
read-only: Not available

Removing a file from a mounted file system also removes that file from the Platform project. This action is irreversible.

Move a file from a mounted directory to a local file system

read-write: Available
read-only: Not available

This is equivalent to downloading a file to a local file system and removing it from the mounted file system. Moving a file from the mounted file system also removes that file from the Platform project. This action is irreversible.

Move a file from a local file system into a mounted directory

read-write: Available
read-only: Not available

This is equivalent to uploading a file to the Platform. Moving the file into the mounted file system sets file access permissions in accordance with the mounted file system.

Move a file inside of the mounted file system into another directory

read-write: Available
read-only: Not available

Move the file data along with its metadata.

Rename a file

read-write: Available
read-only: Not available

Copy a file from a mounted directory to a local file system

read-write: Available
read-only: Available

This is equivalent to downloading a file from the Platform to a local file system.

Copy a file into a mounted directory

read-write: Available
read-only: Not available

Copying a file into the mounted file system sets file access permission in accordance with the mounted file system.

Copy a file inside of the mounted directory

read-write: Available
read-only: Not available

Copying a file inside a mounted directory is effectively the same as downloading and subsequently uploading the file. Note that metadata is not copied when performing this operation. Also, consider using hard links instead of copying the file.

Create a hard link between a mounted and local file system

read-write: Available
read-only: Not available

Creating a hard link inside a mounted file system is effectively the same as copying a file in that a new file is created with the same content and metadata as the original file. However, the subsequent removal of the original (source) file does not affect the linked file.

Create a symbolic link on a local file system to a mounted file

read-write: Available
read-only: Available

Note that unmounting the file system results in a broken link. However, subsequent mounting of the same project to the same mountpoint renders the link valid once more.

Create a symbolic link inside of the mounted file system

read-write: Available
read-only: Not available

The created symbolic link is ephemeral, meaning that it is removed after unmounting the file system mounted via SBFS. The symbolic link is created only in the mounted file system is not visible via the Platform's visual interface or via the API.

Create a directory

read-write: Available
read-only: Not available

📘

  • Allowed characters in directory names are a-z, A-Z, 0-9, and special characters (_), (-), and (.). Directory names can’t be longer than 255 characters.

Move a directory from the mounted file system

read-write: Available
read-only: Not available

Moving a directory out from a mounted file system removes the directory itself and the files within from the Platform project. This action is irreversible.

Move a directory into a mounted file system

read-write: Available
read-only: Not available

Delete a directory

read-write: Available
read-only: Not available

Removing a directory from the mounted file system removes the directory itself and the files within from the Platform project. This action is irreversible.

Unavailable actions

The following common actions are not available:

  • Edit a file
  • Rename a directory
  • Change permissions on a file or a directory (chmod) (Setting permissions on files is possible only at the time of mounting. Alterations are not permitted at a later time.)
  • Change ownership of a file or a directory (chown)