Configuration file with password world-readable
Owncloud client 1.5.0 on Ubuntu 13.04 saves the password into /home/cweiske/.local/share/data/ownCloud/owncloud.cfg.
This file is group and world-readable, so everyone with access to the computer may read the password.
The configuration should be user-readable only by default.
Hi!
I'm using Kubuntu 13.10 and the 1.5.0 version of the owncloud client and that file you're talking about has no password in it and it's readable only by the user. Th same on Kubuntu 13.04. But, in Fedora 18 that file is world readable.
Regards,
2013/12/19 Christian Weiske [email protected]
Owncloud client 1.5.0 on Ubuntu 13.04 saves the password into /home/cweiske/.local/share/data/ownCloud/owncloud.cfg.
This file is group and world-readable, so everyone with access to the computer may read the password.
The configuration should be user-readable only by default.
— Reply to this email directly or view it on GitHubhttps://github.com/owncloud/mirall/issues/1303 .
Linkedin profile (http://es.linkedin.com/in/lafdez) G+ profile (https://plus.google.com/u/0/115320207805121303027/about) Twitter (@lafdez @lafdez) Identi.ca (@lafdez)
For me it contains:
[ownCloud]
url=https://hostname
http_user=username
authType=http
user=username
username%3Ahttps%3A\hostname\type=1
username%3Ahttps%3A\hostname\data=@ByteArray(password)
I don't have those last two lines you have. This is what I have in that section:
[ownCloud] url=https://my_host user=my_user nostoredpassword=false authType=http http_user=my_user
2013/12/19 Christian Weiske [email protected]
For me it contains:
[ownCloud] url=https://hostname http_user=username authType=http user=username username%3Ahttps%3A\hostname\type=1 username%3Ahttps%3A\hostname\data=@ByteArray(password)
— Reply to this email directly or view it on GitHubhttps://github.com/owncloud/mirall/issues/1303#issuecomment-30915980 .
Linkedin profile (http://es.linkedin.com/in/lafdez) G+ profile (https://plus.google.com/u/0/115320207805121303027/about) Twitter (@lafdez @lafdez) Identi.ca (@lafdez)
@cweiske I think the credentials disappear later. I saw them also on the first run of the client and was shocked but then it disappeared. Please check again.
Even on the first run it should not be world-readable.
Fixed.