When I launch the command line client on Mac OS X (10.9.5), it asks me username and password instead of using the credentials stored by the GUI client, as I read in the OC documentation:
I verified that the macOS keychain allows owncloudcmd to access the same redentials the full GUI app uses successfully.
I tested with the latest version of ownCloud Desktop Client (2.3.0). Here are relevant lines from the output of "
owncloudcmd /Users/demo/ownCloud/Documents https://server.mydomain.com/remote.php/webdav/Documents":
OCC::DiscoveryJob(0x7fe5d261ae20) Calling into main thread... !!! OCC::LsColJob created for "https://server.mydomain.com" + "/Documents" "OCC::DiscoverySingleDirectoryJob" void OCC::AbstractNetworkJob::slotFinished() QNetworkReply::NetworkError(AuthenticationRequiredError) "Host requires authentication" QVariant(int, 401) void OCC::DiscoverySingleDirectoryJob::lsJobFinishedWithErrorSlot(QNetworkReply *) "Host requires authentication" 401 QNetworkReply::NetworkError(AuthenticationRequiredError) void OCC::DiscoveryMainThread::singleDirectoryJobFinishedWithErrorSlot(int, const QString &) 1 "Host requires authentication" OCC::DiscoveryJob(0x7fe5d261ae20) ...Returned from main thread 1 when opening msg= "Host requires authentication"  csync_ftw opendir failed for - errno 1  csync_statedb_close sqlite3_close=0 #### ERROR during csync_update : "CSync failed due to unhandled permission denied. Host requires authentication" void OCC::SyncJournalDb::close() "/Users/demo/ownCloud/Documents/._sync_beced333bc1e.db"
Since this feature is pretty important for me, I'd like to know if it's a bug and eventually who can help me to fix it (I'd like to sponsor his/her work, obviously).