DigiKam and ACL

Toby Dickenson toby at tarind.com
Mon Oct 2 21:37:17 UTC 2006


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

Thats how I use digikam here. It works well.

>> You could try setting setting the GID bit on the directory,
>> chmod g+s sharedfolder/ that way all the files created will have 

>> the same group 

Yes, that definitely ensures that any files created in that directory will
be given the same group as that directory. Digikam works well with this.

[You may already have done this, but this configuration also needs you to
have created a group containing both you and your wife. For this example
lets call this group "family". Then change the group of the shared
directory: "chgrp family sharedfolder". Or add -R if you already have some
files in that directory which need their group changed over: "chgrp -R
family sharedfolder". Any *new* files created in that directory will now be
given the group "family"]

>> and group permissions:  

No..... Digikam (and almost everything else) uses umask to determine the
permissions of the files it creates. (k)ubuntu currently sets the umask to
002 for shell logins (via /etc/profile), but uses 022 for graphical
processes started via kdm/gdm. Im not sure why; this has always seems
somewhat counterproductive.

I recommend adding "session optional pam_umask.so umask=002"
to /etc/pam.d/common-session. This sets the umask to 002 for all logins.

I hope this helps,











More information about the kubuntu-users mailing list