You are not logged in.

#1 2012-10-02 08:06:30

T.J.S.
Member
Registered: 2012-08-14
Posts: 83

[Solved] Google Chrome doesn't start with symlinked profile.

I was trying to setup an encrypted directory where I'd put my user-data/profile from google chrome, and have the default directory (.config/google-chrome) symlink to it, much like the wiki describes it.

Well, I couldn't get it to work. I tried doing the same with firefox, and it worked without any issues, which makes it a google-chrome specific problem.
Any clues or suggestions, other than the easy "change your browser"?

Last edited by T.J.S. (2012-10-04 12:30:40)

Offline

#2 2012-10-02 08:37:01

seveg
Member
From: Bratislava, Slovakia
Registered: 2012-04-17
Posts: 33

Re: [Solved] Google Chrome doesn't start with symlinked profile.

How about provide more information? What does it mean 'I couldn't get it to work'? Do you get any error?


Just another drug abuser..

Offline

#3 2012-10-02 08:42:49

T.J.S.
Member
Registered: 2012-08-14
Posts: 83

Re: [Solved] Google Chrome doesn't start with symlinked profile.

No errors, plain "aborted" in console.

Are there any logs I could look at, which contain details about the issue? (i'm relatively new to linux)

Offline

#4 2012-10-02 10:05:36

seveg
Member
From: Bratislava, Slovakia
Registered: 2012-04-17
Posts: 33

Re: [Solved] Google Chrome doesn't start with symlinked profile.

How do you created that encrypted directory? Can you perform read/write operations on it?
Are you using chromium from official repository, some version from AUR or chrome?


Just another drug abuser..

Offline

#5 2012-10-02 12:46:55

T.J.S.
Member
Registered: 2012-08-14
Posts: 83

Re: [Solved] Google Chrome doesn't start with symlinked profile.

I use chrome from aur.

I used ecryptfs to create the dir. And yeah, I can perform read/write, I said I tried the same thing with firefox, plus I checked moving and reading other files too.

Offline

#6 2012-10-04 08:26:06

seveg
Member
From: Bratislava, Slovakia
Registered: 2012-04-17
Posts: 33

Re: [Solved] Google Chrome doesn't start with symlinked profile.

Ok, I'm quite bored at work today, so I've tested it.
I've instaled google-chrome aur package via packer and set up ecryptfs as described in wiki.

Then I've created symlink for google chrome config:

[gabriel@daisu ~]$ ls -l .config/google-chrome
lrwxrwxrwx 1 gabriel users 25 Oct  4 10:12 .config/google-chrome -> ../Private/google-chrome/

Everything  works as expected. I got 'Aborted' only when ecryptfs ~/.Private is not mounted on ~/Private.

Are you sure you have it mounted?
Do you use this chrome package: http://aur.archlinux.org/packages.php?ID=37469 ?
Please double check if you have created symlink for chrome config corectly.


Just another drug abuser..

Offline

#7 2012-10-04 12:25:24

T.J.S.
Member
Registered: 2012-08-14
Posts: 83

Re: [Solved] Google Chrome doesn't start with symlinked profile.

Ok, somehow I was sure this would work the same as the one after that:

ln -s Private/google-chrome .config/google-chrome
ln -s ~/Private/google-chrome .config/google-chrome

since I was at ~.

I did the latter and now it's working. Thanks for your time to help me seveg. smile

Offline

Board footer

Powered by FluxBB