Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: af00bc992cf4f7c0189958786ba68495df2ebba7
Ticket: c30087b04f5a7837b15a64be02e975222485521a
Unusual and problematic permissions of man pages (444 instead of 644)
User & Date: hanno on 2016-06-24 13:37:44
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    The tcl installation process on unix systems installs the man pages with the permission mode 444. This is quite unusual and may cause breakage in certain situations (e.g. distribution systems trying to do installations and removals with user permissions).
    
    It's common practice pretty much default to install man pages with 644, therefore I'd suggest that tcl does the same.
    
    In Gentoo there is currently an effort unifying man page permissions:
    https://bugs.gentoo.org/show_bug.cgi?id=554260
    https://bugs.gentoo.org/show_bug.cgi?id=554258
    
    Trivial Patch:
    --- tcl8.6.5/unix/installManPage	2016-03-01 02:59:35.000000000 +0100
    +++ tcl8.6.5-1/unix/installManPage	2016-06-24 15:28:50.061168557 +0200
    @@ -106,7 +106,7 @@
     	First=$Target
     	sed -e "/man\.macros/r $SrcDir/man.macros" -e "/man\.macros/d" \
     	    $ManPage > $Dir/$First
    -	chmod 444 $Dir/$First
    +	chmod 644 $Dir/$First
     	$Gzip $Dir/$First
         else
     	ln $SymOrLoc$First$Gz $Dir/$Target$Gz
    
  5. foundin changed to: "8.6.5"
  6. is_private changed to: "0"
  7. login: "hanno"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "56299540f9aabd5a540102caec5456bdb962c70a"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "hanno"
  14. subsystem changed to: "69. Other"
  15. title changed to:
    Unusual and problematic permissions of man pages (444 instead of 644)
    
  16. type changed to: "Patch"