← Back to team overview

phatch-dev team mailing list archive

[Bug 498679] [NEW] Setgid/acl inconsistently honored

 

Public bug reported:

My wife and I run phatch in a shared directory using setgid + an acl:
[parse@gisho shared]$ getfacl rawpics
# file: rawpics
# owner: 1000
# group: parsleys
user::rwx
group::rwx
other::r-x
default:user::rwx
default:group::rwx
default:other::r-x

Oddly, when I run phatch on a directory full of images, I get a resulting directory with inconsistent permissions:
...
-rw-rw-r--.  1 sally parsleys 127638 2009-12-19 21:11 IMG_1129.JPG
-rw-rw-r--.  1 sally parsleys 127391 2009-12-19 21:11 IMG_1130.JPG
-rw-rw-r--.  1 sally parsleys 140785 2009-12-19 21:11 IMG_1131.JPG
-rw-------.  1 sally sally    144899 2009-12-19 21:12 IMG_1132.JPG
-rw-------.  1 sally sally    180501 2009-12-19 21:12 IMG_1133.JPG
-rw-rw-r--.  1 sally parsleys  74638 2009-12-19 21:11 IMG_1134.JPG
-rw-------.  1 sally sally     93009 2009-12-19 21:12 IMG_1135.JPG
-rw-------.  1 sally sally    117652 2009-12-19 21:12 IMG_1136.JPG
-rw-rw-r--.  1 sally parsleys 265933 2009-12-19 21:12 IMG_1137.JPG
...

This is on Fedora 12, ext4 filesystem.  It was also happening with ext3; I converted ext3->ext4 and turned on ACL's to see if that would correct the issue, but it acts the same.  The ACL on the phatch-created directory is correct; the same as the parent directory.  The phatch version is 0.1.6;
[parse@gisho shared]$ rpm -q phatch
phatch-0.1.6-5.fc12.x86_64

** Affects: phatch
     Importance: Undecided
         Status: New

-- 
Setgid/acl inconsistently honored
https://bugs.launchpad.net/bugs/498679
You received this bug notification because you are a member of Phatch
Developers, which is subscribed to Phatch.

Status in Phatch = Photo & Batch!: New

Bug description:
My wife and I run phatch in a shared directory using setgid + an acl:
[parse@gisho shared]$ getfacl rawpics
# file: rawpics
# owner: 1000
# group: parsleys
user::rwx
group::rwx
other::r-x
default:user::rwx
default:group::rwx
default:other::r-x

Oddly, when I run phatch on a directory full of images, I get a resulting directory with inconsistent permissions:
...
-rw-rw-r--.  1 sally parsleys 127638 2009-12-19 21:11 IMG_1129.JPG
-rw-rw-r--.  1 sally parsleys 127391 2009-12-19 21:11 IMG_1130.JPG
-rw-rw-r--.  1 sally parsleys 140785 2009-12-19 21:11 IMG_1131.JPG
-rw-------.  1 sally sally    144899 2009-12-19 21:12 IMG_1132.JPG
-rw-------.  1 sally sally    180501 2009-12-19 21:12 IMG_1133.JPG
-rw-rw-r--.  1 sally parsleys  74638 2009-12-19 21:11 IMG_1134.JPG
-rw-------.  1 sally sally     93009 2009-12-19 21:12 IMG_1135.JPG
-rw-------.  1 sally sally    117652 2009-12-19 21:12 IMG_1136.JPG
-rw-rw-r--.  1 sally parsleys 265933 2009-12-19 21:12 IMG_1137.JPG
...

This is on Fedora 12, ext4 filesystem.  It was also happening with ext3; I converted ext3->ext4 and turned on ACL's to see if that would correct the issue, but it acts the same.  The ACL on the phatch-created directory is correct; the same as the parent directory.  The phatch version is 0.1.6;
[parse@gisho shared]$ rpm -q phatch
phatch-0.1.6-5.fc12.x86_64





Follow ups

References