Nextcloud version (eg, 20.0.5): Latest one, downloaded yesterday
Operating system and version (eg, Ubuntu 20.04): 20.04.3 LTS
The issue you are facing:
I have a working Nextcloud server and a working Windows desktop client syncing succesfully.
Iām trying to add an Ubuntu machine to my setup but when I try to use the desktop client for my Ubuntu installation, I get a ācould not read the contents of Mydriveā āpermission deniedā error when I try to select my external hard disk as the drive to sync to.
Here are some images:
Step 1 I have installed the client and next I will try to set up a folder:
Step 2: I get an error message when trying to select my external hard drive as the target folder:
The problem in a nutshell is that I canāt use my external hardisk with the Nextcloud client. My operating system is Ubuntu.
I also think itās a permissions problem, but I have no idea what do to. The only search results were about configuring the server, but this is about the client.
example
Your disk is known to the system as /dev/sdb1 and is mounted read-only (the ro between brackets). Moreover, it is NTFS (which the mount command reports as fuseblk).
Unmount your disk and re-mount it as read-write, like this:
Thank you for your help.
I feel like I donāt know Linux well enough, things that seem so simple to others give me a lot of trouble.
I think my external hard disk is at /dev/sdc2 and the type of it says āMicrosoft basic dataā
It also has a red text saying āPartition 1 does not start on physical sector coundaryā.
I ran what you suggested (I hope I modified it correctly to use sdc2 instead of sdb1), but now the external hard disk disappeared from the other locations list. I donāt know where it went. Edit: Found it now under mnt/mydisk. But when I try to browse to /mnt/ with Nextcloud instead of the regular Ubuntu file browser, I get another āError opening directory ā/mntā: Permission deniedā.
When I right click on my external hard disk and choose āpropertiesā it says that the file system type is āfuseā. Could that be a problem since you mentioned āfuselbkā?
I wonāt be able to help you further as I do not use NTFS partitions or anything similar from Microsoft for many years. Good luck. Others with more recent experience should be able to assist you with your permissions.
Most common format in a standard linux distribution would be ext4
NTFS format support for Windows was recently added into Linux kernel, but not arriving until kernel 5.15
I turns out I could fix the problem by removing the Nextcloud client that I installed from the Ubuntu Software center. Instead I installed the version that is recommended on the Nextcloud documentation page. I used the following commands: