Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show warning if config file can't be written due to permissions issues on linux #752

Closed
ghost opened this issue Jul 11, 2013 · 4 comments
Closed

Comments

@ghost
Copy link

ghost commented Jul 11, 2013

Hi,

today we had a hell of debugging a users problem on the forums:

https://forum.owncloud.org/viewtopic.php?f=14&t=13352

Seems that something was going wrong and the ownership of the .local/share/data/ownCloud folder was changed during some unknown reasons.

Expected behaviour

Show a proper message if the .local/share/data/ownCloud/owncloud.cfg file can't be written.

Actual behaviour

The configuration of the client fails. No proper message about the wrong permissions is shown.

Something similar was already reported some months ago at: #148

Logs

07-11 13:50:03:527 "################## ownCloud de_DE (de_DE) 1.3.0"
07-11 13:50:03:635 * Setup folders from  "/home/nico/.local/share/data//ownCloud/folders"
07-11 13:50:03:661 Network Location:  ""
07-11 13:50:03:689 Returning configured owncloud url:  ""
07-11 13:50:03:745 Current Wizard page changed to  0
07-11 13:50:03:746 Pending request:  QObject(0x0) 
07-11 13:50:06:642 00 client update check to  "https://download.owncloud.com/clientupdater.php"
07-11 13:50:07:101 Sys Info size:  81
07-11 13:50:07:905 Client is on latest version!
07-11 13:50:34:301 Connect to url:  "https://de.owncube.com"
07-11 13:50:34:301 Setup-Log:  "Versuche zu ownCloud an https://de.owncube.com zu verbinden..."
07-11 13:50:34:302   OO Custom config file in use:  "/home/nico/.local/share/data//ownCloud/owncloud.cfg_071113135034"
07-11 13:50:34:302 *** writing mirall config to  "/home/nico/.local/share/data//ownCloud/owncloud.cfg_071113135034"  Skippwd:  false
07-11 13:50:34:303 Going to delete the password from settings file.
07-11 13:50:34:304   OO Custom config file in use:  "/home/nico/.local/share/data//ownCloud/owncloud.cfg_071113135034"
07-11 13:50:34:316   OO Custom config file in use:  "/home/nico/.local/share/data//ownCloud/owncloud.cfg_071113135034"
07-11 13:50:34:320    ownCloud seems not to be configured, can not start test connect.
@williballenthin
Copy link

I encountered the same behavior today when my ~/.local/share/data directory did not have write permissions --- the ownCloud client silently failed to write its configuration out, despite the interface letting me browse around. So this issue remains in client version 1.5.2 on (Ubuntu 13.04) Linux.

@guruz guruz added Bug labels Jun 5, 2014
@luciamaestro
Copy link

@RealRancor Is still happening in the latest version?

@ghost
Copy link
Author

ghost commented Jul 23, 2014

@lmaestro
Sorry this was just a report of a user having this problem at the forums but maybe @williballenthin can answer you this.

@luciamaestro
Copy link

@williballenthin Is still happening in the latest version? If it is still happening please reopen it. Thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants