graysky2 / profile-sync-daemon

Symlinks and syncs browser profile dirs to RAM thus reducing HDD/SDD calls and speeding-up browsers.
https://wiki.archlinux.org/index.php/Profile-sync-daemon
Other
903 stars 86 forks source link

psd will delete existing profile symlinks #186

Closed ian-kelling closed 7 years ago

ian-kelling commented 7 years ago

If you already symlink your profile, simply running psd p, which the documentation gives the impression it won't do anything bad, will remove your symlink, making your browser fail to start.

graysky2 commented 7 years ago

Interesting... Which browser are you using? I would like to setup your example and testing.

ian-kelling commented 7 years ago

Firefox. Before I knew about psd, I symlinked my profile directory to somewhere else ~/.mozilla/firefox/profile -> /some/other/location. Then I installed psd, shut down firefox, ran psd p, started firefox, firefox broken.

Took a few minutes to figure out the symlink was deleted.

graysky2 commented 7 years ago

If you want to use psd, please consider editing ~/.mozilla/firefox/profiles.ini and defining the path to your profile therein like this:

[Profile0]
Name=banking
IsRelative=0
Path=/path/to/3z9a7omu.profile

Symlinked profiles are not supported at this time... let me see how feasible it is to implement. I will update the documentation and also consider having psd bail if it detects a symlinked starting point. Thank you for reporting.

ian-kelling commented 7 years ago

Thanks