Hello Together
I’m using Nextcloud since years from my windows 10 installation with a cloud hosted server. In Windows I have a system partition and a data partition.
Now I installed ubuntu beneath windows (dual boot). Both windows partitions are mounted, visible and accessible with my user from Ubuntu side.
Now I wanted to set up a NextCloud synchronisation to a folder located on the data partition. Nextcloud tells me that it has no writing permissions to this folder.
I’ve checked the permissions to the mounted drive and to the folder. They are completely according to my user (UID=1000(mb) GID=1000(mb)) . I checked a synchronisation to my home drive - Nextcloud synchronizes perfect with the same user and group as the permissions to the drive.
So I have no idea why the client cannot write to the needed folder and volume.
Nextcloud Client Version 3.13.4
Ubuntu release: 24.04.1 LTS
Regards Mike
first of all pls update NC client to the most recent version… which should be something like 3.14.1
Do you try to use the sync client on both OS using the same sync data?
If so, this will not work reliable and trouble will start as each client has a db to store sync state data.
OK - I have to figure out, how to get the current release for my distribution. With a single application update nothing has been done.
Yes - basically this is the idea. Since it is a dual boot solution I can use either Windows or Linux. It is not possible to use it on the same time. The database is stored in the root of the source folder as a hidden file. So the idea was, that it can be used from both systems.
But nevertheless it does not declare why the source folder / volume cannot be accessed when all the access rights are for the fitting user. Even in the auth.log file where all authorization failures are logged there is no entry.
It looks like the client has a problem accessing other volumes. Of course the needed one is a NTFS drive.
that might be the initial problem. Since NTFS can’t rebuild linux’ permission-structure. Maybe you wanna perfom a search for “linux and nfts” yourself to find a way to access your data correctly?
I went some deeper. So there seem to be additional access restrictions. Since I even cannot access the /etc or /usr folders via Nextcloud client. Which are accessible from the normal file browser.
I’ll take a try to search from Ubuntu side - is perhaps better.
I found the solution. Ubuntu uses the packet manager snap. For security reasons this manager is able to encapsulate the applications in addition to the normal authorization systesms. And so it has been with the nextcloud client and access to the mounted partitions.
This could be solved by grant the access in snap:
snap connect nextcloud-desktop-client:removable-media
After this the access works and Nextcloud syncronized in correct way.
2 Likes