<html><head></head><body><div>Why are you using SMB when you have a linux based machine sharing to another linux based machine?  NFS is  much simpler if you don't have windows/Mac's involved.</div><div><br></div><div>Having said that, if you don't have some sort of directory services running, you need to make sure that your user <span style="font-size: 1em; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">sweetth exists on both the server and client, and they both have the same UID/GID's for the user.  <br><br>Typically, for Samba based shares, you should just be able to make sure ownership of the database files is set to "</span><span style="font-size: 1em; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">sweetth".   As you're mounting the share as a user, all files in that share should probably be owned by the same user.<br><br>Alternatively, use  windows to set permissions of your photos folder on the server  to be full access by your user.</span></div><div><br></div><div>As this isn't a Digikam issue, you might want to seek help with setting permissions in the Samba forums if you can't get things working.</div><div><span></span></div><div><br></div><div>On Wed, 2021-03-31 at 14:04 +0100, Sweetth Devil wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div dir="ltr">Hello all,<br>I used Digikam but moved my collection of pictures and my database to my newly installed home server. My computer is running Archlinux and so is my server.<div><br></div><div>The database was SQLite. <br><br><div>The Collection & database get mounted using CIFS on a samba share using the following mount parameters:<br></div><div><br></div><div><pre style="border:0px;margin-top:0px;margin-bottom:0px;padding:0px;font-size:1em;overflow:auto;width:545px;direction:ltr"><code style="font-size:1em;padding:0.5em;display:inline-block">//<a href="http://192.168.1.90/arch_home_server">192.168.1.90/arch_home_server</a> /mnt/share cifs username=sweetth,password=******,rw,user,noauto,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0</code></pre></div><div><br></div><div>After a lot of frustration I deleted all traces of DigiKam from my install including config files (inc. digikamrc) and database.</div><div><br></div><div>But DigiKam is still complaining of database rights. If I start DigiKam without the Samba share mounted it starts without any issue. </div><div><br></div><div>See below DigiKam debug info: </div></div><div><br></div><div><pre class="gmail-vscroll" style="border:0px;margin-top:0px;margin-bottom:0px;padding:0px;font-size:1em;overflow:auto;width:530px;direction:ltr;height:32em"><code style="font-size:1em;padding:0.5em;display:inline-block">Type "apropos word" to search for commands related to "word"...
Reading symbols from digikam...
(No debugging symbols found in digikam)
(gdb) catch throw
Catchpoint 1 (throw)
(gdb) run
Starting program: /usr/bin/digikam 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffdbbb7640 (LWP 4065)]
[New Thread 0x7fffd9ecd640 (LWP 4066)]
[New Thread 0x7fffd96cc640 (LWP 4067)]
[New Thread 0x7fffd8ecb640 (LWP 4068)]
[New Thread 0x7fffcbfff640 (LWP 4069)]
[New Thread 0x7fffca6f9640 (LWP 4070)]
QCommandLineParser: already having an option named "h"
QCommandLineParser: already having an option named "help-all"
QCommandLineParser: already having an option named "v"
[New Thread 0x7fffc94e8640 (LWP 4071)]
[New Thread 0x7fffc8ce7640 (LWP 4072)]
[New Thread 0x7fffb3fff640 (LWP 4073)]
[Thread 0x7fffb3fff640 (LWP 4073) exited]
digikam.dbengine: Detected locked database file. There is an active transaction. Waited but giving up now.
digikam.coredb: Core database: cannot process schema initialization
[New Thread 0x7fffb3fff640 (LWP 4075)]
[New Thread 0x7fffb3709640 (LWP 4076)]
[New Thread 0x7fffb2f08640 (LWP 4077)]
[New Thread 0x7fffb2707640 (LWP 4078)]
[Thread 0x7fffb3709640 (LWP 4076) exited]
[Thread 0x7fffb3fff640 (LWP 4075) exited]
[Thread 0x7fffb2707640 (LWP 4078) exited]
[Thread 0x7fffb2f08640 (LWP 4077) exited]

Thread 9 "digikam" received signal SIG32, Real-time event 32.
[Switching to Thread 0x7fffc8ce7640 (LWP 4072)]
0x00007ffff51f9bf3 in pselect () from /usr/lib/libc.so.6
(gdb) quit
A debugging session is active.

        Inferior 1 [process 4061] will be killed.</code></pre></div><div><br></div><div>Should more information are required, please let me know.</div><div>Looking forward to your replies.</div><div><br></div></div></blockquote></body></html>