Configure Storage

Storage Permissions

Give the server account and containers predictable access without making the storage world-writable.

Guide difficulty⭐⭐⭐⭐⭐ Beginner Friendly
Estimated time⏱️ Around 20–40 minutesEstimated for a first-time user.

What ownership means

Linux records which user and group own each file. Applications cannot import, rename or delete media when the ownership and container IDs disagree.

  1. Check your user ID and group ID

    id
  2. Set ownership on the storage root

    sudo chown -R $USER:$USER /storage/media/media
  3. Set sensible directory permissions

    sudo find /storage/media/media -type d -exec chmod 775 {} \;
  4. Set sensible file permissions

    sudo find /storage/media/media -type f -exec chmod 664 {} \;
IMAGE PLACEHOLDERid output and ls -ld output showing the storage owner and permissions.
Required image: id output and ls -ld output showing the storage owner and permissions.