Ticket #4724 (assigned defect)

Opened 4 years ago

Last modified 4 months ago

Plugins downloaded and extracted from zip have incorrect permissions

Reported by: jholg Assigned to: otaku42 (accepted)
Priority: normal Component: TracHacks
Severity: normal Keywords: zip download
Cc: ChrisNelson Trac Release: 0.11

Description

Hi,

I can't exactly say when this started but downloaded zipped hacks suddenly have unusable permissions for me:

E.g. I just downloaded the workfloweditor plugin:

0 pytaf@swww001 .../workfloweditorplugin $ ls -l 0.11/
total 4
---------- 1 pytaf pytaf   39 2009-01-21 10:14 setup.cfg
---------- 1 pytaf pytaf 1077 2009-03-01 15:28 setup.py
drwxr-sr-x 5 pytaf pytaf  512 2009-03-02 09:59 workfloweditor/

This of course means after unzipping one has to modify all permissions to be able to build/use the plugins. Might be that this has been introduced when trac-hacks moved to the new server? I certainly didn't see such problems last year. I tried several other hacks (e.g IncludeMacro,...) and this problem seems to show up consistently.

Holger

Attachments

Change History

09/06/09 01:08:11 changed by rjollos

  • summary changed from zip download permissions to Plugins downloaded and extracted from zip have incorrect permissions.

(follow-up: ↓ 3 ) 02/03/10 08:09:10 changed by rjollos

Which plugin is used on TH to generate the zip files and associated downloads link? I see a TracDownloaderPlugin and DownloadsPlugin, but neither of these are references on the main page: WikiStart#Miscellany

(in reply to: ↑ 2 ) 02/09/10 06:57:16 changed by otaku42

  • status changed from new to assigned.

Replying to rjollos:

Which plugin is used on TH to generate the zip files and associated downloads link?

No plugin is used for that at all, it's all done with out-of-the-box features of Trac (see NewHackTemplate):

http://trac-hacks.org/changeset/latest/${LCNAME}?old_path=/&filename=${LCNAME}&format=zip

where ${LCNAME} is replaced with the hacks' repository path.

02/09/10 07:03:59 changed by rjollos

That is great ... my life just got easier ;)

Thanks, I had searched around the documentation and didn't find how to do that anywhere.

02/11/10 11:44:30 changed by jholg

You're probably aware of this - I brought this up on the mailing list too, back then:

http://www.mail-archive.com/trac-users@googlegroups.com/msg14200.html

I posted some info on my zip file properties findings in the same thread: http://www.mail-archive.com/trac-users@googlegroups.com/msg14216.html

08/12/12 02:16:19 changed by rjollos

  • cc set to ChrisNelson.

#10243 closed as a duplicate.

01/30/13 11:29:04 changed by rjollos

#10840 closed as a duplicate.

01/31/13 12:44:07 changed by jun66j5

This issue is Trac 0.10.x issue with Python 2.5 and has been fixed in Trac 0.11 and later. See also, trac:#6851 and trac:r6558.


Add/Change #4724 (Plugins downloaded and extracted from zip have incorrect permissions)




Change Properties
Action