2 Useraccounts with the same database

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

2 Useraccounts with the same database

Peter Aschenberger
Hello,

how can I use the same digikam-database with 2 different Useraccounts? My wife
and me want to share our digikam-database, because we have only one cam
together and the same family-pics. How does this work? I tried to make a link
from /home/user1/foto/digikam3.db to /home/user2/foto/digikam3.db but I only
get read-Access to the Database. I tried to modify this with chmod and chown
but I'm not a real expert in this and so it didn't work. It wouldn't be a
problem if we can't use it at the same time together.

Has anybody an idea?


Best regards
Peter
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: 2 Useraccounts with the same database

Gilles Caulier-4
Le dimanche 18 février 2007 14:39, Peter Aschenberger a écrit :

> Hello,
>
> how can I use the same digikam-database with 2 different Useraccounts? My
> wife and me want to share our digikam-database, because we have only one
> cam together and the same family-pics. How does this work? I tried to make
> a link from /home/user1/foto/digikam3.db to /home/user2/foto/digikam3.db
> but I only get read-Access to the Database. I tried to modify this with
> chmod and chown but I'm not a real expert in this and so it didn't work. It
> wouldn't be a problem if we can't use it at the same time together.
>
> Has anybody an idea?

The way that you use is very dangerous. There is a big risk to corrupt
database content with current acess. digiKam is not yet designed to share
internal database.

Gilles
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: 2 Useraccounts with the same database

tictactatic
Is this the situation still a year later? I'd like my wife to use the
same directory (in my home) under her own user. I am not talking of
concurrent use, i.e. we will never be working at the same time in
Digikam. Is there a way to set it up?

All the best,

Sava

On Feb 18, 2007 3:11 PM, Caulier Gilles <[hidden email]> wrote:

> Le dimanche 18 février 2007 14:39, Peter Aschenberger a écrit :
> > Hello,
> >
> > how can I use the same digikam-database with 2 different Useraccounts? My
> > wife and me want to share our digikam-database, because we have only one
> > cam together and the same family-pics. How does this work? I tried to make
> > a link from /home/user1/foto/digikam3.db to /home/user2/foto/digikam3.db
> > but I only get read-Access to the Database. I tried to modify this with
> > chmod and chown but I'm not a real expert in this and so it didn't work. It
> > wouldn't be a problem if we can't use it at the same time together.
> >
> > Has anybody an idea?
>
> The way that you use is very dangerous. There is a big risk to corrupt
> database content with current acess. digiKam is not yet designed to share
> internal database.
>
> Gilles
>
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
>



--
Mali Radojica i ostali -- http://tatic.blogspot.com
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: 2 Useraccounts with the same database

Gilles Caulier-4
digiKam for KDE4 will be a solution for this problem. Look this screenshot :

http://digikam3rdparty.free.fr/Screenshots/digikamKDE4_15.png

You can separate now roots album path and database file path. Just set a different place to host DB file for each account and all will be fine.

Warning, digiKam for KDE4 still unstable. Do not use in production...

Gilles Caulier

2008/2/12, Sava Tatic <[hidden email]>:
Is this the situation still a year later? I'd like my wife to use the
same directory (in my home) under her own user. I am not talking of
concurrent use, i.e. we will never be working at the same time in
Digikam. Is there a way to set it up?

All the best,

Sava

On Feb 18, 2007 3:11 PM, Caulier Gilles <[hidden email]> wrote:
> Le dimanche 18 février 2007 14:39, Peter Aschenberger a écrit :
> > Hello,
> >
> > how can I use the same digikam-database with 2 different Useraccounts? My
> > wife and me want to share our digikam-database, because we have only one
> > cam together and the same family-pics. How does this work? I tried to make
> > a link from /home/user1/foto/digikam3.db to /home/user2/foto/digikam3.db
> > but I only get read-Access to the Database. I tried to modify this with
> > chmod and chown but I'm not a real expert in this and so it didn't work. It
> > wouldn't be a problem if we can't use it at the same time together.
> >
> > Has anybody an idea?
>
> The way that you use is very dangerous. There is a big risk to corrupt
> database content with current acess. digiKam is not yet designed to share
> internal database.
>
> Gilles
>
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
>



--
Mali Radojica i ostali -- http://tatic.blogspot.com
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users


_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: 2 Useraccounts with the same database

tictactatic
Thanks Gilles. Will be patient.

Sava

On Tuesday 12 February 2008 07:43:31 Gilles Caulier wrote:

> digiKam for KDE4 will be a solution for this problem. Look this screenshot
> :
>
> http://digikam3rdparty.free.fr/Screenshots/digikamKDE4_15.png
>
> You can separate now roots album path and database file path. Just set a
> different place to host DB file for each account and all will be fine.
>
> Warning, digiKam for KDE4 still unstable. Do not use in production...
>
> Gilles Caulier
>
> 2008/2/12, Sava Tatic <[hidden email]>:
> > Is this the situation still a year later? I'd like my wife to use the
> > same directory (in my home) under her own user. I am not talking of
> > concurrent use, i.e. we will never be working at the same time in
> > Digikam. Is there a way to set it up?
> >
> > All the best,
> >
> > Sava
> >
> > On Feb 18, 2007 3:11 PM, Caulier Gilles <[hidden email]> wrote:
> > > Le dimanche 18 février 2007 14:39, Peter Aschenberger a écrit :
> > > > Hello,
> > > >
> > > > how can I use the same digikam-database with 2 different
> > > > Useraccounts?
> >
> > My
> >
> > > > wife and me want to share our digikam-database, because we have only
> >
> > one
> >
> > > > cam together and the same family-pics. How does this work? I tried to
> >
> > make
> >
> > > > a link from /home/user1/foto/digikam3.db to
> >
> > /home/user2/foto/digikam3.db
> >
> > > > but I only get read-Access to the Database. I tried to modify this
> >
> > with
> >
> > > > chmod and chown but I'm not a real expert in this and so it didn't
> >
> > work. It
> >
> > > > wouldn't be a problem if we can't use it at the same time together.
> > > >
> > > > Has anybody an idea?
> > >
> > > The way that you use is very dangerous. There is a big risk to corrupt
> > > database content with current acess. digiKam is not yet designed to
> >
> > share
> >
> > > internal database.
> > >
> > > Gilles
> > >
> > > _______________________________________________
> > > Digikam-users mailing list
> > > [hidden email]
> > > https://mail.kde.org/mailman/listinfo/digikam-users
> >
> > --
> > Mali Radojica i ostali -- http://tatic.blogspot.com
> > _______________________________________________
> > Digikam-users mailing list
> > [hidden email]
> > https://mail.kde.org/mailman/listinfo/digikam-users
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: 2 Useraccounts with the same database

Loïc Brarda-2
In reply to this post by Peter Aschenberger
> Message: 2
> Date: Tue, 12 Feb 2008 07:43:31 +0100
> From: "Gilles Caulier" <[hidden email]>
> Subject: Re: [Digikam-users] 2 Useraccounts with the same database
> To: "digiKam - Digital Photo Management for the masses"
>         <[hidden email]>
> Message-ID:
>         <[hidden email]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> digiKam for KDE4 will be a solution for this problem. Look this screenshot :
>
> http://digikam3rdparty.free.fr/Screenshots/digikamKDE4_15.png
>
> You can separate now roots album path and database file path. Just set a
> different place to host DB file for each account and all will be fine.
>
> Warning, digiKam for KDE4 still unstable. Do not use in production...
>
> Gilles Caulier
>

I'm not sure it will solve the problem. If I understand well, they
also want to share the database, not only the pictures.
I didn't tried but it should be doable with user & group access
rights. I would do it like this :
- define a group with the 2 users (I name this group digikam)
- chgrp -R digikam digikam_root_folder
- chmod -R g+rw digikam_root_folder
- insure that the users have access to the digikam_root_folder (x
attribute on all parent folders)
Then each user defines the same 'Album Library path' (digikam_root_folder).
I will also probably have the digikam_root_folder not in a home
directory but in a separate folder (like /photos).
A script to run digikam with lock management could help avoid database
corruption.

As I said, I did not tried but it should work. If it does not (if
sqlite checks the user), it could also be solved by a script that
would change the owner of the db before calling digikam.

Cheers,
  Loïc
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users