[Digikam-devel] [Bug 308373] New: ACL default:mask ignored / mask changed for exif rotated images on import

Thomas Bettler bettlertho at sis.unibe.ch
Sun Oct 14 14:24:22 BST 2012


https://bugs.kde.org/show_bug.cgi?id=308373

            Bug ID: 308373
          Severity: normal
           Version: 2.9.0
          Priority: NOR
          Assignee: digikam-devel at kde.org
           Summary: ACL default:mask ignored / mask changed for exif
                    rotated images on import
    Classification: Unclassified
                OS: Linux
          Reporter: bettlertho at sis.unibe.ch
          Hardware: Gentoo Packages
            Status: UNCONFIRMED
         Component: Import
           Product: digikam

While importing images directly from camera, the exif rotated ones get their
permissions changed in a undesired way...
The destination folder has the following ACL settings:
bash$ getfacl .
# file: .
# owner: t
# group: users
user::rwx
user:r:rwx
user:t:rwx
group::---
mask::rwx
other::---
default:user::rwx
default:user:ra:rwx
default:user:th:rwx
default:group::---
default:mask::rwx
default:other::---

Example 1: landscape oriented image (no need to rotate)
bash$ getfacl IMG_5665.JPG
# file: IMG_5665.JPG
# owner: t
# group: users
user::rw-
user:r:rwx                  #effective:rw-
user:t:rwx                 #effective:rw-
group::---
mask::rw-
other::---

Example2: Portrait oriented image (auto rotated on import)
bash$ getfacl IMG_5666.JPG
# file: IMG_5666.JPG
# owner: t
# group: users
user::rw-
user:r:rwx                  #effective:---
user:t:rwx                 #effective:---
group::---
mask::---
other::---

Unexpectingly and unfortunately the rotated image has mask:: changed to ---
Expected behaviour: It should be mask::rw- as the non rotated images instead.

Reproducible: Always

Steps to Reproduce:
1. Import images with digikam

Actual Results:  
Unexpectingly and unfortunately the rotated image has mask:: changed to ---


Expected Results:  
Expected behaviour: It should be mask::rw- as the non rotated images instead.

Contact me, if you need more information.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list