![]() Tresorit, based in Switzerland and claiming over 10,000 organizations as customers, is one of a growing number of cloud storage services that offer E2E cloud storage. Instead, all of these services keep a copy of your encryption keys, so what you put in there is never truly private. see ), and (b) to convert folders and files to the right values.While Google, Apple, Microsoft and others offer lots of cloud storage at reasonable prices, home users don't get end-to-end (E2E) encryption, where only the user can access their files. originally my Windows sites folder was at D:\GoogleDrive\SitesOld), use chmod both (a) to determine the right values for the permissions (e.g. Note 2: If any files have previously been saved on Google Drive (e.g. Note 1: This solution works only with Dropbox but not with Google Drive, as Google Drive has problems with symlinks and also messes with permissions in a different way, especially on a Mac. Update the Apache nf on the Windows PC to recognise localhost at D:/Dropbox/SitesNew.įrom now on, any localhost development work (edit, add, delete) on one device will synch with the localhost on the other, even across different operating systems.Update the Apache nf files on the Mac to recognise localhost at ~/Users/myname/SitesNew.D:/Dropbox/SitesNew In my case the new Windows PC folder was at: The symlink folder will now appear as a real folder on Dropbox in the cloud and on the Windows PCs. Synchronise Dropbox on all devices (making sure to add the SitesNew folder if you are using selective synch on any device).~/Users/myname/Dropbox/SitesNew ~/Users/myname/SitesNew You will then have two identical folders on the Mac: The steps I used to achieve this aim were as follows.Ĭreate a folder called ~/Users/myname/SitesNew on a Mac.Ĭreate a symlink from that folder to an identically named folder in Dropbox on the same Mac. ![]() I add mine for completeness and extra detail.Īs above, I develop on multiple devices (several Macs and Windows PCs, side by side), so my aim was to have a single localhost development folder that would synch almost instantly between different devices without the need to check files into/out of git and without running into the file permissions problems created when using Google Drive to synch code files. It's very similar to Dr Fred's above, in that both solve the problem with symlinks. Here's the solution I devised before receiving any answers. Many thanks to for the solution above, which I'm confident would work though I have not had the chance to test it. So my question is: On a Mac (running HighSierra), is it possible to relocate the DocumentRoot to GoogleDrive? Or is there something instrinsic to GoogleDrive that prohibits localhost from being run a Google Drive folder? I can see that the permissions on the various folders are as follows. the Google Drive or Dropbox or Tresorit folder). by editing the nf, etc, files - localhost is blocked.Ĭlearly the problem is to do with permissions on the parent folder (e.g. However, when I reconfigure the Mac to run from Users/myname/GoogleDrive/SitesG - e.g. On a Mac, however, localhost won't work when running out of a cloud-based storage folder such as Google Drive, Dropbox, Tresorit, etc.Įverything is fine when localhost is at Users/myname/Sites. On Windows machines I can configure localhost to run from D:/GoogleDrive/SitesG folder the local site runs perfectly. localhost) to a synchronised folder (such as Google Drive, Dropbox or Tresorit), but the attempt fails with a 403 error. I am attempting to relocate my DocumentRoot (i.e.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |