Opened 16 years ago
Closed 11 years ago
#4724 closed defect (fixed)
Plugins downloaded and extracted from zip have incorrect permissions
Reported by: | jholg | Owned by: | Michael Renzmann |
---|---|---|---|
Priority: | normal | Component: | TracHacks |
Severity: | normal | Keywords: | zip download |
Cc: | Chris Nelson | 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 (0)
Change History (9)
comment:1 Changed 15 years ago by
Summary: | zip download permissions → Plugins downloaded and extracted from zip have incorrect permissions |
---|
comment:2 follow-up: 3 Changed 15 years ago by
comment:3 Changed 15 years ago by
Status: | new → 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.
comment:4 Changed 15 years ago by
That is great ... my life just got easier ;)
Thanks, I had searched around the documentation and didn't find how to do that anywhere.
comment:5 Changed 15 years ago by
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
comment:6 Changed 12 years ago by
Cc: | Chris Nelson added; anonymous removed |
---|
#10243 closed as a duplicate.
comment:8 Changed 12 years ago by
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.
comment:9 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
This issue appears to have been resolved with the site upgrade.
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