-
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
tocloudron
.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 ofroot
?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) -
@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?
-
-
@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.
-
@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?
-
Sounds like a packaging bug.
@jdaviescoates chown it and try it.. easy-peasy.
-
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 thecloudron
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 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
-
-
@jdaviescoates Back to support then
-
@jdaviescoates so the folder is owned by
root
even after an app restart?