Down the track since my previous answer, and I've discovered a(nother) way to set a mount point for pCloud using the GUI appImage. It's not too hard, seems to work, but it's not documented anywhere I can find so I specify some precautions.
I have not got any motivation to look into how to do this on Windoze. This is a Linux solution.
This solution is only for use within a single user account. Other answers to this question look at how to operate with other users.
Read through the whole solution before starting on it to understand the implications.
TLDR;
Add a setting
in SQLite ~/.pcloud/data.db
with the name fsroot
and the value of the path you want to mount the erstwhile pCloudDrive
onto. I suggest you make sure that directory exists as well ;-) e.g. /home/youruser/pcloud
or whatever it is you want.
Disclaimer
This is working for me so far. Please take all precautions and monitor to ensure it's working in your case before you commit to it. I cannot guarantee any particular outcome.
Precautions
If you peruse the ~/.pcloud/data.db
database you will notice some complexity and apparent tracking of files by iNode numbers (I think). Before making this change I suggest the following is carried out. Some of these measures (maybe even all of them) are probably unnecessary or duplicate precautions but I'm paranoid esp. when it comes to a sync app like pCloud:
backup all your data somewhere else first e.g. dump to an external SSD
make sure all syncing upload and download are all completed
using the GUI "Preferences" "Backup" and "Sync" tabs remove all backups and syncs that are set up
using GUI "Preferences" "Crypto" tab, lock the Crypto wallet if you have one
from GUI "Preferences" "Settings" tab under "Disk Usage" use the "Clear Cache" button
quit / exit the pCloud app
remove (or save at another location in case you want to roll back) the following directories:
~/.pcloud
~/.config/pcloud
~/.config/autostart/pcloud
Incidentally
At this point I recommend starting pCloud again and just checking your files. I found some very strange behaviours, including the apparent restoration of files that I deleted / renamed a long time ago, almost as if pCloud had been caching the changes forever rather than implementing them properly. I suggest that perusing your files after removing the .pcloud
etc could help you fix up your data and put pCloud in a more stable state. Potentially you may want to repeat all the precautions after this as well.
Change pCloud mount folder
pCloud defaults to mount the Fuse drive to pCloudDrive
in your home directory. This is what's going to change. Make sure pCloud is not running.
Find the ~/.pcloud/data.db
SQLite database and open it with your favourite SQL editor tool, presumably that will be Beekeeper Studio: https://www.beekeeperstudio.io/.
View the setting
table in that database. It is simply just a list of key / value pairs (or in fact id
/ value
pairs).
There is probably no fsroot
in the id
column. If there isn't you will need to add a row (just use the +
in Beekeeper). If there's one already, half your luck, but presumably it's got the value /home/youruser/pCloudDrive
, but I don't expect it to be there.
Update the new fsroot
setting to the full path of the directory where you want pCloud to mount onto, for instance, /home/youruser/drive
or whatever it is you want. Quit the database (you don't want it open when pCloud opens it).
Make sure the directory that you specified exists and is empty. There have been issues around this from time to time that may be solved but this is probably best. I would leave the /home/youruser/pCloudDrive
directory around as well for now until you're sure it's all working.
Now pray and start pCloud. It should work.
Now you get to reconfigure all your pCloud sync and back-up settings all over again. You're welcome.