Bug 53392 - mail/pyzor installed files permissions incorrect
Summary: mail/pyzor installed files permissions incorrect
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: 2003-06-17 00:40 UTC by Andrew J. Caines
Modified: 2003-07-22 16:58 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew J. Caines 2003-06-17 00:40:12 UTC
	The pyzor-0.4.0_1 (mail/pyzor) port installs its single doc with
	read (and, unneccesarily, write) access only to root. It is 600,
	but it should be 444.

	It would be good to install files such as README and ChangeLog as
	docs too.

	Additionally, the pyzor(d) scrips are installed 711, however I
	would expect 555 since they should not be writable and there is no
	need to hide the code from users.

Fix: 

pyzor-0.4.0/INSTALL indicates the need for this permissions
	change. AFAICT the "changing mode of ..." is part of the python
	package
	(${PREFIX}/lib/python2.2/distutils/command/install_scripts.py) and
	relies on pyzor-0.4.0/setup.py, however with my knowledge of
	Python (ie. diddly-squat) and quick insprection, it's not clear
	what change to make or to where, but clearly the mechanism exists.
How-To-Repeat: 	# cd /usr/ports/mail/pyzor ; make && make install
	[snip]
	running install_scripts
	copying build/scripts-2.2/pyzor -> /usr/local/bin
	copying build/scripts-2.2/pyzord -> /usr/local/bin
	changing mode of /usr/local/bin/pyzor to 711
	changing mode of /usr/local/bin/pyzord to 711
	running install_data
	creating /usr/local/share/doc/pyzor
	copying docs/usage.html -> /usr/local/share/doc/pyzor
	===>   Generating temporary packing list
	===>   Registering installation for pyzor-0.4.0_1

	# ls -l 
	-rw-------  1 root  wheel  15560 Sep  7  2002 /usr/local/share/doc/pyzor/usage.html
Comment 1 Tilman Keskinoz freebsd_committer freebsd_triage 2003-07-22 16:58:18 UTC
State Changed
From-To: open->closed

committed, thanks