-
Notifications
You must be signed in to change notification settings - Fork 669
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
Sane usage of owncloudcmd #2211
Comments
Makes sense. Thanks. On top, I'd like a safe way for non-interactive usage. |
Stripping the URL requires changes deep in csync, so we'll not do that for the moment. We should however, make sure that the password is hidden in the debug output csync. Also, the |
@jnweiger Added Also, |
For running unattended test cases we need the --non-interactive mode. This prevents a test-run (or any other batch job) from unexpectedly blocking while waiting for user input that would never come. |
When I try to run it in Mac I have this error:
|
@cdamken this is something for you too! |
how can the users in windows put their credentials now to avoid typing it every time?
That is a good solution for Linux, how will be in windows? Could not be possible to have a configuration file in windows (like .netrc) where the url, login, password and directories are stored? |
Tested owncloud-client-1.7.0~beta3-1.2.x86_64 on openSUSE Linux When providing a password with -p it should not prompt for password. $ owncloudcmd -u user1 -p owncloud /tmp/syncdir/user1 http://daily.owncloud.com/stable7/owncloud When typing in the credentials as prompted, download of the skeleton files is unsuccessful. |
Typescript: 1.6.3 used to support the http://user:password @ server.... syntax, this no longer works now. |
Speed of owncloudcmd is affected by the rate limiting from the gui client. There should be a command line setting to override this. |
@jnweiger can you make that a separate issue? otherwise we'll never end this one. |
done. #2294 |
version is now reported via --version. This ticket is done. |
...and it was tested by @jnweiger so we can close this. |
Wait, I need to re-test that post beta3. |
owncloud-client-1.7.0~nightly20141009-5.1.x86_64 < compiled commit 77d2cba: $ mkdir build; cd build; cmake ..; make $ ./bin/owncloudcmd -u admin -p admin /tmp/syncdir http://admin:[email protected]/stable7/owncloud no longer prompts for a password. Fine. void Mirall::SyncEngine::slotJobCompleted(const Mirall::SyncFileItem&) "photos/squirrel.jpg" 2 "Error downloading http://admin:[email protected]/stable7/owncloud/remote.php/webdav/remote.php/webdav/photos/squirrel.jpg - server replied: Not Found" The repeated remote.php/webdav/remote.php/webdav does not look good to me. |
@jnweiger the password issue is fixed now, I'm looking into the other issue. |
@jnweiger it should work again. |
@dragotin it does not. I see no change. Sorry. Please try git checkout 1.7 git pull git log commit 8eaeba6486a30dbbbe474e6425b488ec7d8aa3a1 ... rm -rf build; mkdir build; cd build cmake ..; make bin/owncloudcmd -u admin -p admin /tmp/syncdir https://daily.owncloud.com/stable7/owncloud And watch out for |
yes, sorry. I will investigate. |
PR #2307 for basic functionality of the --version option. |
The current way of using
owncloudcmd
is flawed, because nobody expects username and password to be encoded in the URL. Furthermore, when doing so, the password gets leaked through debug output.This is what should be done:
strip the URL--user
and--password
-n
(netrc)--confdir
)The text was updated successfully, but these errors were encountered: