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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Unsolved Automatically give files uploaded via File Manager cloudron ownership

    Support
    filemanager filemanagement root cloudron ownership
    4
    10
    177
    Loading More Posts
    • 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.
    • jdaviescoates
      jdaviescoates last edited by

      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

      nebulon 1 Reply Last reply Reply Quote 1
      • nebulon
        nebulon Staff @jdaviescoates last edited by

        @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?

        jdaviescoates 2 Replies Last reply Reply Quote 0
        • Topic has been marked as a question  nebulon nebulon 
        • jdaviescoates
          jdaviescoates @nebulon last edited by

          @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 Reply Quote 0
          • jdaviescoates
            jdaviescoates @nebulon last edited by

            @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 Reply Quote 0
            • robi
              robi last edited by

              Sounds like a packaging bug.

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

              Life of Advanced Technology

              1 Reply Last reply Reply Quote 0
              • nebulon
                nebulon Staff last edited by

                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.

                jdaviescoates 1 Reply Last reply Reply Quote 0
                • Moved from Support by  girish girish 
                • jdaviescoates
                  jdaviescoates @nebulon last edited by

                  @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

                  jdaviescoates nebulon 2 Replies Last reply Reply Quote 0
                  • jdaviescoates
                    jdaviescoates @jdaviescoates last edited by

                    @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

                    girish 1 Reply Last reply Reply Quote 0
                    • Moved from Paperless-ngx by  girish girish 
                    • girish
                      girish Staff @jdaviescoates last edited by

                      @jdaviescoates Back to support then 😄

                      1 Reply Last reply Reply Quote 1
                      • nebulon
                        nebulon Staff @jdaviescoates last edited by

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

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Powered by NodeBB