DigiKam and ACL
Toby Dickenson
toby at tarind.com
Wed Oct 4 07:14:10 UTC 2006
Bjarne Wichmann Petersen wrote:
> On Tuesday 03 October 2006 23:06, Toby Dickenson wrote:
>> Bjarne Wichmann Petersen wrote:
>> > DigiKam *insists* on not allowing anyone but the owner write-access for
>> > any files it creates.
>> Which files in particular?
>> > You must have done something else to make DigiKam behave. ;-)
>> Interesting.
>
> I got a step further. DigiKam *doesn't* remove permission-bit. It just
> keeps the bits from the original. So if a files "test.jpg" have the
> following permission:
>
> test.jpg -rwxr-xr-x
>
> When I import this file into DigiKam, the permission-bits are the same
> (though the group have changed).
>
> So when the original has "-rwxrw-r-x" the imported pictures will have this
> as well.
>
> This is how it's done i konqueror and with cp as well, so I guess that is
> how it's supposed to be with linux.
Are you using the menu Album/Import/Images?
It looks like this is using the same 'file copy' library as Konqueror, which
does use the traditional unix behaviour of retaining permissions.
In digikam I am using the 'Camera' menu.
You have to tell digikam about your camera type; Camera/Add Camera, press
the "Add" button to show a very confusing dialog box, then pick "Mounted
Camera" off the list of camera types.
The 'Camera' menu then has a new entry for accessing this camera when
mounted. It has a nice gui for previewing photos, selectively downloading
them into a new album, and deleting them from the camera. It also uses
umask to set permissions on the downloaded file.
> My camera gets mounted as a USB mass-storage device, with the
> default-permission: "-rwx-r-x-r-x".
Thats also interesting. I am seeing files in mounted media using 0700
permissions (-rwx------). I wonder where that difference comes from.
More information about the kubuntu-users
mailing list