Bug 124594 - [patch] www/nanoblogger regression: wrong file modes
Summary: [patch] www/nanoblogger regression: wrong file modes
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: Philippe Audeoud
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-14 22:30 UTC by Tobias Rehbein
Modified: 2008-06-15 19:50 UTC (History)
0 users

See Also:


Attachments
patch.txt (728 bytes, text/plain)
2008-06-14 22:30 UTC, Tobias Rehbein
no flags Details
file.dat (2.57 KB, message/rfc822)
2008-06-15 12:01 UTC, Tobias Rehbein
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Rehbein 2008-06-14 22:30:06 UTC
	My last submission regarding this port introduced a regression which went unnoticed. I introduced the usage of the COPYTREE_SHARE macro. This macro sets file modes which are not suitable for the default data directory which is used as the sekeleton for new blogs. The problem is that the files must be writable.

This means new users will not be able to create new working blogs. This went unnoticed as I tested in an existing blog. I just noticed this issue as I am currently working on the porting of nanoblogger 3.4 and test a broader variety of test cases.

Fix: Switch to the old behaviour for the default data directory. See attached patch.

Anyway it's not good to have writable files in /usr/share/nanoblogger. I will file a bug report upstream to change the file modes accordingly after copying the files into the actual blog directory.
How-To-Repeat: 	Install www/nanoblogger and create a new blog. Writing entries for this blog will not be possible.
Comment 1 Philippe Audeoud freebsd_committer freebsd_triage 2008-06-15 09:28:39 UTC
Responsible Changed
From-To: freebsd-ports-bugs->jadawin

I'll take it.
Comment 2 Tobias Rehbein 2008-06-15 12:01:15 UTC
Just for the report:

Bug has been reported upstream, see http://sourceforge.net/tracker/index.php?func=detail&aid=1994340&group_id=103576&atid=635240
Comment 3 dfilter service freebsd_committer freebsd_triage 2008-06-15 19:47:15 UTC
jadawin     2008-06-15 18:46:30 UTC

  FreeBSD ports repository

  Modified files:
    www/nanoblogger      Makefile 
  Log:
  - Fixing wrong file modes.
  
  PR:             ports/124594
  Submitted by:   Tobias Rehbein <tobias.rehbein web.de>
  Approved by:    mentor (implicit)
  
  Revision  Changes    Path
  1.12      +3 -1      ports/www/nanoblogger/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Philippe Audeoud freebsd_committer freebsd_triage 2008-06-15 19:47:26 UTC
State Changed
From-To: open->closed

Committed. Thanks!