Feature Request: A possibility to attach external storages within a subfolder

It would be nice to have the possibility to attach external storages inside a subfolder.
Now this is only possible:
/foo - storage 1
/bar - storage 2

I need:
/bla/foo - storage 1
/bla/bar - storage 2


This is already possible. Just name them as you’ve done here and it will work.

The picture is the config in nextcloud… but I dont see the /_TO_CHECK dir in files :frowning: What I’m doing wrong?

Is the root storage of the testuser writeable?

root@lucypher:~# ll /volume7/web/nextcloud/data/
total 37788

drwxr-x— 1 http http 76 Apr 16 08:35 testuser

root@lucypher:~# ll /volume7/web/nextcloud/data/testuser/
total 0
drwxr-x— 1 http http 76 Apr 16 08:35 .
drwxr-x— 1 http http 428 Jun 11 17:31 …
drwxr-x— 1 http http 0 Jan 26 13:44 cache
drwxr-x— 1 http http 234 May 27 10:49 files
drwxr-x— 1 http http 26 Jan 26 14:02 files_external
drwxr-xr-x 1 http http 10 Apr 16 08:35 files_versions

you see all relevant dirs are readable/writeable for http user what nextcloud uses…

Looks good to me.
What happens if you add a folder that is called /_TO_CHECK to the testuser? Does the external storage then become visible in the subdirectory?

1 Like

this is working now! THX a lot! :smiley:
But it would be nice if nextcloud could add the dir automaticly… I’ve only some users, thats not a problem but if you have 1000 etc then its a little bit complicated (ok bash and 0…1000 does it but…)

You can simply create an additional external storage that is called like this and read only and mount it to anyone that shall get access…

hmm that doesnt work… I’ve defined a “dummy” storage _TO_CHECK and configured the true storages inside it

in files section on nextcloud I can see /_TO_CHECK but it is empty…

did you assign the correct users?

ah it works! I have “_TO_CHECK” in the folder settings forgotten :slight_smile: