This section provides information on files and directories on the Pantheon platform.
You cannot rename or move file directories on Pantheon's file serving infrastructure. The workaround is to:
Create a new directory, then copy all the files from inside the old directory into the new directory.
Delete the old directory.
Files on Pantheon cannot be renamed or moved, similar to file directories. Our SFTP mode doesn’t support the
mv command, which is what most apps use when renaming or moving files. The workaround is to:
Delete the old file(s).
Upload the newly renamed file to the desired directory, or upload a file with same name to a different directory.
Your entire codebase is writable in your Dev environment when you're in SFTP mode. However, the platform is designed to keep only the codebase under version control. This means that the only writable paths are:
You must add a symlink to modules or plugins that require the ability to assume write access and write to the codebase. This allows the module or plugin to write to the file system. Refer to Using Extensions That Assume Write Access for more information.