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. Support
  3. Automatically give files uploaded via File Manager cloudron ownership

Automatically give files uploaded via File Manager cloudron ownership

Scheduled Pinned Locked Moved Unsolved Support
filemanagerfilemanagementrootcloudronownership
10 Posts 4 Posters 1.4k Views 4 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.
    • jdaviescoatesJ Offline
      jdaviescoatesJ Offline
      jdaviescoates
      wrote on last edited by
      #1

      I'm playing around with Paperless and uploading files and folders into the consume folder.

      Every time I upload anything I have to then manually change the ownership of the files or folders from root to cloudron.

      Is there some way I can avoid having to do this extra step? So that whenever I upload files they are automatically owned by cloudron instead of root?

      Also, out of interest, would there ever be a scenario where might I want the ownership to remain root? (it seems I always have to change the permissions to cloudron to make things work)

      I use Cloudron with Gandi & Hetzner

      nebulonN 1 Reply Last reply
      1
      • jdaviescoatesJ jdaviescoates

        I'm playing around with Paperless and uploading files and folders into the consume folder.

        Every time I upload anything I have to then manually change the ownership of the files or folders from root to cloudron.

        Is there some way I can avoid having to do this extra step? So that whenever I upload files they are automatically owned by cloudron instead of root?

        Also, out of interest, would there ever be a scenario where might I want the ownership to remain root? (it seems I always have to change the permissions to cloudron to make things work)

        nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #2

        @jdaviescoates hm so by default the filemanager sets the owner of an uploaded file as the same user as the folder it was uploaded to. Are you using the Cloudron filemanager or the file drop/upload UI from within paperless?

        jdaviescoatesJ 2 Replies Last reply
        0
        • nebulonN nebulon marked this topic as a question on
        • nebulonN nebulon

          @jdaviescoates hm so by default the filemanager sets the owner of an uploaded file as the same user as the folder it was uploaded to. Are you using the Cloudron filemanager or the file drop/upload UI from within paperless?

          jdaviescoatesJ Offline
          jdaviescoatesJ Offline
          jdaviescoates
          wrote on last edited by
          #3

          @nebulon said in Automatically give files uploaded via File Manager cloudron ownership:

          Are you using the Cloudron filemanager or the file drop/upload UI from within paperless?

          The Cloudron filemanager.

          I use Cloudron with Gandi & Hetzner

          1 Reply Last reply
          0
          • nebulonN nebulon

            @jdaviescoates hm so by default the filemanager sets the owner of an uploaded file as the same user as the folder it was uploaded to. Are you using the Cloudron filemanager or the file drop/upload UI from within paperless?

            jdaviescoatesJ Offline
            jdaviescoatesJ Offline
            jdaviescoates
            wrote on last edited by
            #4

            @nebulon said in Automatically give files uploaded via File Manager cloudron ownership:

            by default the filemanager sets the owner of an uploaded file as the same user as the folder it was uploaded to

            If that's the case, is there a reason why the consume folder is owned by root?

            Because if not, life would be simpler if the consume folder was owned by cloudron, if that's possible?

            I use Cloudron with Gandi & Hetzner

            1 Reply Last reply
            0
            • robiR Offline
              robiR Offline
              robi
              wrote on last edited by
              #5

              Sounds like a packaging bug.

              @jdaviescoates chown it and try it.. easy-peasy.

              Conscious tech

              1 Reply Last reply
              0
              • nebulonN Offline
                nebulonN Offline
                nebulon
                Staff
                wrote on last edited by
                #6

                I am not sure I can reproduce the issue then. Using the paperless UI I can upload documents and they get consumed as well as dropping files into the /app/data/consume which is actually owned by the cloudron user.
                Also on app start, those folders are chowned correctly. Which version of paperless is the issue happening? I am testing this on the latest ngx version.

                jdaviescoatesJ 1 Reply Last reply
                0
                • girishG girish moved this topic from Support on
                • nebulonN nebulon

                  I am not sure I can reproduce the issue then. Using the paperless UI I can upload documents and they get consumed as well as dropping files into the /app/data/consume which is actually owned by the cloudron user.
                  Also on app start, those folders are chowned correctly. Which version of paperless is the issue happening? I am testing this on the latest ngx version.

                  jdaviescoatesJ Offline
                  jdaviescoatesJ Offline
                  jdaviescoates
                  wrote on last edited by
                  #7

                  @nebulon it was a fresh install a couple of days ago.

                  I've experienced exactly this with other apps previously too, but I can't remember the details (possibly/ likely Navidrome and/ or Calibre Web)

                  I use Cloudron with Gandi & Hetzner

                  jdaviescoatesJ nebulonN 2 Replies Last reply
                  0
                  • jdaviescoatesJ jdaviescoates

                    @nebulon it was a fresh install a couple of days ago.

                    I've experienced exactly this with other apps previously too, but I can't remember the details (possibly/ likely Navidrome and/ or Calibre Web)

                    jdaviescoatesJ Offline
                    jdaviescoatesJ Offline
                    jdaviescoates
                    wrote on last edited by
                    #8

                    @jdaviescoates said in Automatically give files uploaded via File Manager cloudron ownership:

                    I've experienced exactly this with other apps previously too,

                    Hence why I didn't put this directly into this category myself @girish 🙂 😉

                    I use Cloudron with Gandi & Hetzner

                    girishG 1 Reply Last reply
                    0
                    • girishG girish moved this topic from Paperless-ngx on
                    • jdaviescoatesJ jdaviescoates

                      @jdaviescoates said in Automatically give files uploaded via File Manager cloudron ownership:

                      I've experienced exactly this with other apps previously too,

                      Hence why I didn't put this directly into this category myself @girish 🙂 😉

                      girishG Offline
                      girishG Offline
                      girish
                      Staff
                      wrote on last edited by
                      #9

                      @jdaviescoates Back to support then 😄

                      1 Reply Last reply
                      1
                      • jdaviescoatesJ jdaviescoates

                        @nebulon it was a fresh install a couple of days ago.

                        I've experienced exactly this with other apps previously too, but I can't remember the details (possibly/ likely Navidrome and/ or Calibre Web)

                        nebulonN Offline
                        nebulonN Offline
                        nebulon
                        Staff
                        wrote on last edited by
                        #10

                        @jdaviescoates so the folder is owned by root even after an app restart?

                        1 Reply Last reply
                        0
                        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