← Back to team overview

phatch-dev team mailing list archive

[Bug 498679] Re: Setgid/acl inconsistently honored

 

I'm only able to fix bugs which I can reproduce.

Could you make a virtualbox image which reflects your setup and the bug?

Also could you post the expected permissions of the example? Please
provide more clear steps to reproduce the issue. What do you do, what
does your wife do? Is your username sally? Is your wife's username
parsleys or is parsleys the group name of you and your wife? What are
the file permissions of the original files? What is your action list?
What happens if you run the same images with phatch in a non shared
folder?

** Changed in: phatch
       Status: New => Incomplete

-- 
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!: Incomplete

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





References