Bug 81502 - archivers/torrentzip removes the read flag from zip files [sw-bug].
Summary: archivers/torrentzip removes the read flag from zip files [sw-bug].
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-26 15:40 UTC by Scot Hetzel
Modified: 2005-05-26 21:40 UTC (History)
0 users

See Also:


Attachments
patch-src-trrntzip.c (1.10 KB, text/plain)
2005-05-26 16:12 UTC, Scot Hetzel
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Scot Hetzel 2005-05-26 15:40:05 UTC
Torrentzip uses the read permission flag to check if a zip file needs to be processed.  It does this by first setting all zip files to 0400, then as it processes the zip file it changes the permissions to 0200.

Fix: 

Apply attached patch in the following email message.

Also bump PORTREVISION.
How-To-Repeat: run torrentzip on a directory of zip files with permissions 644, you'll find that they are now 0200.
Comment 1 Scot Hetzel 2005-05-26 16:12:55 UTC
Attached is the fix to the permissions problem.  torrentzip now use
the sticky bit, instead of the read bin, to keep track of zip files
that need to be processed.

This change will be in the next release of torrentzip.

-- 
DISCLAIMER:
No electrons were harmed while sending this message. Only slightly bruised.
Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2005-05-26 21:40:41 UTC
State Changed
From-To: open->closed

Committed, thanks!