Shared folder / symlink between apps


#1

Hello guys,

I’m new to Cloudways and here is what I’m trying to do:

I have a content management tool that can handle multiple websites. So
each websites have to be able to access the database and the upload folder of the “main” app (the one used to manage contents).

Accessing database should not be a problem as I just need to use the “main” app infos to connect.

But accessing the files is not possible since the main app folder is “jailed” (for obvious security reasons). On some VPS I would just do some ln -s /app1/upload /app2/upload, but I guess it’s not possible here.

I was wondering if there was any workaround for that. Maybe a rsync folder, mounting something, I really don’t know. If you guys have any idea that would be great :slight_smile:

Thanks!


#2

I confirm that symlinks are working from one app to another. At least one created with the master access of the server.