DigiKam and ACL

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

DigiKam and ACL

Bjarne Wichmann Petersen-2
Hi

I'd like to have a folder shared between my wife and me, containing our
DigiKam albums.

This means I need a shared folder where we both have rw access to all files
and subdirectories. And any created files and subdirectorie would inherit
those filepermissions.

I looked like ACL would be the solution, by setting a default ACL for the
shared folder. Ie:

setfacl -d -m u:wife:rw sharedfolder/

But it looks like DigiKam is overruling the default ACL from imported pictures
by removing any writeaccess for all except the owner.

Does anyone have an idea how to solve this?

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

Re: DigiKam and ACL

Fabien-5
Hello,

You posted this email a few weeks ago, I don't know if you found some
solutions...

I did some tests about that because I also need to allow access to the
digikam albums for several users...

Bjarne Wichmann Petersen wrote:

> I'd like to have a folder shared between my wife and me, containing our
> DigiKam albums.
>
> This means I need a shared folder where we both have rw access to all files
> and subdirectories. And any created files and subdirectorie would inherit
> those filepermissions.
>
> I looked like ACL would be the solution, by setting a default ACL for the
> shared folder. Ie:
>
> setfacl -d -m u:wife:rw sharedfolder/

Yes, it looks like a good solution...

> But it looks like DigiKam is overruling the default ACL from imported pictures
> by removing any writeaccess for all except the owner.

I did some tests and it looks fine.
New albums inherit extended rights and added files have the correct
permissions...

Could you give us more details about your configuration (digikam
version, kde version, linux distribution, file system) ?

Could you also send the results of getfact on directories and files you
have ?

Thanks.

--
Fabien

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

Re: DigiKam and ACL

Bjarne Wichmann Petersen-2
On Thursday 26 October 2006 13:11, Fabien wrote:

> > But it looks like DigiKam is overruling the default ACL from imported
> > pictures by removing any writeaccess for all except the owner.
>
> I did some tests and it looks fine.
> New albums inherit extended rights and added files have the correct
> permissions...
>
> Could you give us more details about your configuration (digikam
> version, kde version, linux distribution, file system) ?

Kubuntu 6.06, KDE 3.5.5, digiKam 0.8.2-RC1.

> Could you also send the results of getfact on directories and files you
> have ?

I dropped ACL. The solution I'm using instead i changing the umask of the
system (002 I think). Creating a group for all who need to share the album,
set this group as owner of the album and then setting the group-permission to
rw for the album. Any newly created sub-albums will then inherit the same
permission.

This works (almost) importing pictures from a camera everything is fine. But
when I import from a directory or cd-rom write-permission is "removed"
(actually, it just inherit the permissions of the original file).

There is a thread on the kubuntu mailing-list starting on october 1st with
more details.

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

Re: DigiKam and ACL

Fabien-5
Bjarne Wichmann Petersen wrote:
> On Thursday 26 October 2006 13:11, Fabien wrote:
>
>>>But it looks like DigiKam is overruling the default ACL from imported
>>>pictures by removing any writeaccess for all except the owner.
>>
>>I did some tests and it looks fine.
>>New albums inherit extended rights and added files have the correct
>>permissions...
 > [...]
>
> I dropped ACL. The solution I'm using instead i changing the umask of the
> system (002 I think). Creating a group for all who need to share the album,
> set this group as owner of the album and then setting the group-permission to
> rw for the album. Any newly created sub-albums will then inherit the same
> permission.

Ok, I see. It's a more simple solution (the one I'm also using right
now). The main drawback I see is that you depend on the configuration of
each user (ie umask configuration), or you must change the global umask
setting which could be annoying for some people...

> This works (almost) importing pictures from a camera everything is fine. But
> when I import from a directory or cd-rom write-permission is "removed"
> (actually, it just inherit the permissions of the original file).

My digital kamera is not recognized as mass-storage, this is why I don't
have any problem I think. I will make some tests with import from CDs or
folder to check that...

> There is a thread on the kubuntu mailing-list starting on october 1st with
> more details.

For other interested people, it's here :
https://lists.ubuntu.com/archives/kubuntu-users/2006-October/009373.html

--
Fabien

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