Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Mastodon
  3. How to modify mastodon files

How to modify mastodon files

Scheduled Pinned Locked Moved Mastodon
5 Posts 3 Posters 67 Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    aksaks
    wrote last edited by
    #1

    Hello,
    I need to modify files in the mastodon instance. Need to change mastodon logo, edit css etc. I read somewhere that cloudron doesn't allow any changes to these files? Is that true?

    jdaviescoatesJ 1 Reply Last reply
    1
    • A aksaks

      Hello,
      I need to modify files in the mastodon instance. Need to change mastodon logo, edit css etc. I read somewhere that cloudron doesn't allow any changes to these files? Is that true?

      jdaviescoatesJ Offline
      jdaviescoatesJ Offline
      jdaviescoates
      wrote last edited by
      #2

      @aksaks said in How to modify mastodon files:

      Is that true?

      Yeah. App code is read-only which makes updates, backups, restores, migrations etc of apps Just Work, and prevents hackers (or just users) breaking things.

      I use Cloudron with Gandi & Hetzner

      1 Reply Last reply
      1
      • jamesJ Offline
        jamesJ Offline
        james
        Staff
        wrote last edited by
        #3

        Hello @aksaks and welcome to the Cloudron Community

        Yes Cloudron does limit what you can edit for every app.
        We do this for security reasons => https://docs.cloudron.io/security/#app-isolation-and-sandboxing and to allow a smooth update experience.

        Each app has its dedicated documentation for common tasks => https://docs.cloudron.io/packages/mastodon/

        A 1 Reply Last reply
        2
        • jamesJ james

          Hello @aksaks and welcome to the Cloudron Community

          Yes Cloudron does limit what you can edit for every app.
          We do this for security reasons => https://docs.cloudron.io/security/#app-isolation-and-sandboxing and to allow a smooth update experience.

          Each app has its dedicated documentation for common tasks => https://docs.cloudron.io/packages/mastodon/

          A Offline
          A Offline
          aksaks
          wrote last edited by
          #4

          @james said in How to modify mastodon files:

          Yes Cloudron does limit what you can edit for every app.

          Ok, I didn't know that. I do get security thingy etc but if we can't modify files then how else we are going to work with read only apps?

          jamesJ 1 Reply Last reply
          0
          • A aksaks

            @james said in How to modify mastodon files:

            Yes Cloudron does limit what you can edit for every app.

            Ok, I didn't know that. I do get security thingy etc but if we can't modify files then how else we are going to work with read only apps?

            jamesJ Offline
            jamesJ Offline
            james
            Staff
            wrote last edited by
            #5

            Hello @aksaks

            From the documentation:

            Apps are run with an AppArmor profile that disables many system calls and restricts access to proc and sys filesystems.

            Apps run with a read-only rootfs preventing attacks where the application code can be tampered with.

            @aksaks said in How to modify mastodon files:

            if we can't modify files then how else we are going to work with read only apps?

            The core application is read-only. Everything that is needed to be read-write e.g. files in Nextcloud, pictures in Mastodon, everything that is user-data is read-write.
            This also greatly reduced the backup footprint, backup times and restore times.
            Also, a tamper protection.
            As an example, most WordPress instances get hijacked at some point and then the WordPress core PHP files are edited to insert malware or worse.
            The application-core read-only approach protects from that.

            1 Reply Last reply
            2
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Bookmarks
            • Search