I’m running the latest version of Nextcloud on an Ubuntu 18.04 Server.
I have the following situation: I’m using a second internal drive as “external storage” in Nextcloud, which is mounted at /mnt/intern
I am also accessing this folder via the network using samba with the user “andreas” from my MS Windows computer.
Everytime I create a folder via the network (samba), I only have read-permissions when I later access the folder via Nextcloud Web-Interface (“You don’t have permission to upload or create files here”). When I create the folder via the Nextcloud Web-Interface, everything is fine and I can manipulate the files using Nextcloud and my Windows computer.
Example: Folder 1 has been created using the Nextcloud Interface, Folder 2 via samba.
drwxr-xr-x 2 www-data www-data 4096 Jan 26 08:11 ‘Folder 1’ --> this one works fine
drwxr-xr-x 2 andreas andreas 4096 Jan 26 08:12 ‘Folder 2’ --> for this folder, I cannot change anything in the Web-Interface
Is there a way to let both users (www-data and andreas) access the folder via the Web-Interface? Or a different approach?