Skip to content
TheChatArchiveThe Chat Archive
Claudeclaude-opus-4-20250514· AnthropicHugging Face LMArena Human Preference 140K

Which directory can I write in an application in AWS AppStream 2?

From a Chatbot Arena battleThe same person sent this prompt to two anonymous models at once. Compare it with o4-mini-2025-04-16’s answer.
  1. User

    Which directory can I write in an application in AWS AppStream 2?

  2. Claude Assistant

    In AWS AppStream 2.0, you have limited write access to specific directories during your streaming session. Here are the main directories where you can write:

    Home Folder: This is the primary location for persistent storage. The path is typically:

    • Windows: C:\Users\PhotonUser\My Files\Home Folder
    • Linux: /home/PhotonUser/MyFiles/HomeFolder

    Files saved here persist between sessions if you have Home Folders enabled for your stack.

    Temporary Folders: You can write to standard temporary directories:

    • Windows: %TEMP% or C:\Users\PhotonUser\AppData\Local\Temp
    • Linux: /tmp

    Note that files in temporary folders are deleted when the session ends.

    Session-specific folders: During an active session, you typically have write access to:

    • The user's Documents, Desktop, and Downloads folders
    • Application-specific data folders in AppData (Windows) or hidden directories in the home folder (Linux)

    Important limitations:

    • You cannot write to system directories or Program Files
    • Write access to the C:\ root (Windows) or / root (Linux) is restricted
    • Any files saved outside the Home Folder will be lost when the session ends

    If you need persistent storage, always use the Home Folder. For temporary work during a session, you can use any of the user-accessible directories, but remember to move important files to the Home Folder before ending your session.

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.