[Bug 60318] importImages.php broken on cluster

2014-02-04 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=60318

Sam Reed (reedy) s...@reedyboy.net changed:

   What|Removed |Added

   See Also||https://bugzilla.wikimedia.
   ||org/show_bug.cgi?id=60777

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 60318] importImages.php broken on cluster

2014-02-03 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=60318

--- Comment #3 from Sam Reed (reedy) s...@reedyboy.net ---
(In reply to comment #2)
 I don't see any way around getting errors when trying to upload files as a
 user
 that can't see them. What exactly is this about?

The behaviour changed at some point (I didn't have to change file permissions
before). But even with read for everyone on /tmp/uploads, it doesn't work with
errors.

There is a related error that the uploads apparently succeed, even though they
weren't imported.


reedy@tin:/tmp/uploads$ sudo -u apache mwscript importImages.php
--wiki=commonswiki --user=Odder /tmp/uploads
Import Images

Importing 2014 State Of The Union Address Enhanced.webm...PHP Warning: 
fopen(/tmp/uploads/2014 State Of The Union Address Enhanced.webm): failed to
open stream: Permission denied in
/a/common/php-1.23wmf11/includes/filebackend/SwiftFileBackend.php on line 278

Warning: fopen(/tmp/uploads/2014 State Of The Union Address Enhanced.webm):
failed to open stream: Permission denied in
/a/common/php-1.23wmf11/includes/filebackend/SwiftFileBackend.php on line 278
done.
Importing 2013-10-05 President Obama's Weekly Address.webm...PHP Warning: 
fopen(/tmp/uploads/2013-10-05 President Obama's Weekly Address.webm): failed to
open stream: Permission denied in
/a/common/php-1.23wmf11/includes/filebackend/SwiftFileBackend.php on line 278

Warning: fopen(/tmp/uploads/2013-10-05 President Obama's Weekly Address.webm):
failed to open stream: Permission denied in
/a/common/php-1.23wmf11/includes/filebackend/SwiftFileBackend.php on line 278
done.
Importing 2013-10-12 President Obama's Weekly Address.webm...PHP Warning: 
fopen(/tmp/uploads/2013-10-12 President Obama's Weekly Address.webm): failed to
open stream: Permission denied in
/a/common/php-1.23wmf11/includes/filebackend/SwiftFileBackend.php on line 278

Warning: fopen(/tmp/uploads/2013-10-12 President Obama's Weekly Address.webm):
failed to open stream: Permission denied in
/a/common/php-1.23wmf11/includes/filebackend/SwiftFileBackend.php on line 278
done.

Found: 3
Added: 3
reedy@tin:/tmp/uploads$ ls -al
total 2404792
drwxrwxrwx  2 reedy wikidev  4096 Feb  3 18:47 .
drwxrwxrwt 46 root  root12288 Feb  3 18:46 ..
-rw-rw-r--  1 reedy wikidev  1255 Feb  1 14:50 2013-10-05 President Obama's
Weekly Address.txt
-rw-rw-r--  1 reedy wikidev 163504321 Jan 27 22:13 2013-10-05 President Obama's
Weekly Address.webm
-rw-rw-r--  1 reedy wikidev  1197 Feb  1 14:52 2013-10-12 President Obama's
Weekly Address.txt
-rw-rw-r--  1 reedy wikidev 158637780 Feb  1 14:34 2013-10-12 President Obama's
Weekly Address.webm
-rw-rw-r--  1 reedy wikidev   884 Jan 31 16:26 2014 State Of The Union
Address Enhanced.txt
-rw-rw-r--  1 reedy wikidev 909068945 Jan 30 19:37 2014 State Of The Union
Address Enhanced.webm
-rw-r--r--  1 reedy wikidev 909060459 Feb  3 18:45 SOTU.tar.gz
-rw-r--r--  1 reedy wikidev 322185685 Feb  3 18:46 WeeklyAddresses.tar.gz
reedy@tin:/tmp/uploads$
reedy@tin:/tmp/uploads$
reedy@tin:/tmp/uploads$
reedy@tin:/tmp/uploads$
reedy@tin:/tmp/uploads$
reedy@tin:/tmp/uploads$ chmod 777 *
reedy@tin:/tmp/uploads$ rm *.gz
reedy@tin:/tmp/uploads$ ls -al
total 1202392
drwxrwxrwx  2 reedy wikidev  4096 Feb  3 18:52 .
drwxrwxrwt 46 root  root12288 Feb  3 18:50 ..
-rwxrwxrwx  1 reedy wikidev  1255 Feb  1 14:50 2013-10-05 President Obama's
Weekly Address.txt
-rwxrwxrwx  1 reedy wikidev 163504321 Jan 27 22:13 2013-10-05 President Obama's
Weekly Address.webm
-rwxrwxrwx  1 reedy wikidev  1197 Feb  1 14:52 2013-10-12 President Obama's
Weekly Address.txt
-rwxrwxrwx  1 reedy wikidev 158637780 Feb  1 14:34 2013-10-12 President Obama's
Weekly Address.webm
-rwxrwxrwx  1 reedy wikidev   884 Jan 31 16:26 2014 State Of The Union
Address Enhanced.txt
-rwxrwxrwx  1 reedy wikidev 909068945 Jan 30 19:37 2014 State Of The Union
Address Enhanced.webm
reedy@tin:/tmp/uploads$ sudo -u apache mwscript importImages.php
--wiki=commonswiki --user=Odder /tmp/uploads
Import Images

Importing 2014 State Of The Union Address Enhanced.webm...done.
Importing 2013-10-05 President Obama's Weekly Address.webm...done.
Importing 2013-10-12 President Obama's Weekly Address.webm...done.

Found: 3
Added: 3
reedy@tin:/tmp/uploads$

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 60318] importImages.php broken on cluster

2014-02-03 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=60318

--- Comment #4 from Gerrit Notification Bot gerritad...@wikimedia.org ---
Change 110993 had a related patch set uploaded by Aaron Schulz:
Use rb instead of rb+ for Swift store operation handles

https://gerrit.wikimedia.org/r/110993

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 60318] importImages.php broken on cluster

2014-02-03 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=60318

Gerrit Notification Bot gerritad...@wikimedia.org changed:

   What|Removed |Added

 Status|NEW |PATCH_TO_REVIEW

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 60318] importImages.php broken on cluster

2014-02-03 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=60318

--- Comment #5 from Gerrit Notification Bot gerritad...@wikimedia.org ---
Change 11 had a related patch set uploaded by Aaron Schulz:
Fixes and cleanups to FileOpBatch

https://gerrit.wikimedia.org/r/11

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 60318] importImages.php broken on cluster

2014-02-03 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=60318

--- Comment #6 from Gerrit Notification Bot gerritad...@wikimedia.org ---
Change 11 merged by jenkins-bot:
Fixes and cleanups to FileOpBatch

https://gerrit.wikimedia.org/r/11

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 60318] importImages.php broken on cluster

2014-02-03 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=60318

--- Comment #7 from Gerrit Notification Bot gerritad...@wikimedia.org ---
Change 15 had a related patch set uploaded by Aaron Schulz:
Use rb instead of rb+ for Swift store operation handles

https://gerrit.wikimedia.org/r/15

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 60318] importImages.php broken on cluster

2014-02-03 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=60318

--- Comment #8 from Gerrit Notification Bot gerritad...@wikimedia.org ---
Change 16 had a related patch set uploaded by Aaron Schulz:
Fixes and cleanups to FileOpBatch

https://gerrit.wikimedia.org/r/16

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 60318] importImages.php broken on cluster

2014-02-03 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=60318

--- Comment #9 from Gerrit Notification Bot gerritad...@wikimedia.org ---
Change 110993 merged by jenkins-bot:
Use rb instead of rb+ for Swift store operation handles

https://gerrit.wikimedia.org/r/110993

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 60318] importImages.php broken on cluster

2014-02-03 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=60318

--- Comment #10 from Gerrit Notification Bot gerritad...@wikimedia.org ---
Change 15 merged by jenkins-bot:
Use rb instead of rb+ for Swift store operation handles

https://gerrit.wikimedia.org/r/15

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 60318] importImages.php broken on cluster

2014-02-03 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=60318

--- Comment #11 from Gerrit Notification Bot gerritad...@wikimedia.org ---
Change 16 merged by Aaron Schulz:
Fixes and cleanups to FileOpBatch

https://gerrit.wikimedia.org/r/16

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 60318] importImages.php broken on cluster

2014-02-03 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=60318

Aaron Schulz aschulz4...@gmail.com changed:

   What|Removed |Added

 Status|PATCH_TO_REVIEW |RESOLVED
 Resolution|--- |FIXED

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 60318] importImages.php broken on cluster

2014-01-31 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=60318

--- Comment #2 from Aaron Schulz aschulz4...@gmail.com ---
I don't see any way around getting errors when trying to upload files as a user
that can't see them. What exactly is this about?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 60318] importImages.php broken on cluster

2014-01-22 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=60318

Andre Klapper aklap...@wikimedia.org changed:

   What|Removed |Added

   Priority|Unprioritized   |High

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 60318] importImages.php broken on cluster

2014-01-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=60318

--- Comment #1 from Sam Reed (reedy) s...@reedyboy.net ---
If I chmod 777 it, I can upload it :/

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l