Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 7978f56fd134d7ae9dec25f7a9a07e48991fa329df70d98be6a2852ba29e7d1a
Ticket: 31d4fa115b63f6935aa8fe774feb742b4f0dd005
Tweak install permissions
User & Date: stu on 2025-01-20 11:28:20
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    Install tclsh with 755 perms.
    Same with the .so but use 755 instead of the 555 in the removed "chmod" line.
    755 is more consistent with the rest of the install, which is 644 for files and 755 for dirs.
    
    
    Index: unix/Makefile.in
    ==================================================================
    --- unix/Makefile.in
    +++ unix/Makefile.in
    @@ -152,12 +152,12 @@
     
     INSTALL_STRIP_PROGRAM  = strip
     INSTALL_STRIP_LIBRARY  = strip -x
     
     INSTALL                        = $(SHELL) $(UNIX_DIR)/install-sh -c
    -INSTALL_PROGRAM                = ${INSTALL}
    -INSTALL_LIBRARY                = ${INSTALL}
    +INSTALL_PROGRAM                = ${INSTALL} -m 755
    +INSTALL_LIBRARY                = ${INSTALL} -m 755
     INSTALL_DATA           = ${INSTALL} -m 644
     INSTALL_DATA_DIR       = ${INSTALL} -d -m 755
     
     # NATIVE_TCLSH is the name of a tclsh executable that is available *BEFORE*
     # running make for the first time. Certain build targets (make genstubs) need
    @@ -1019,11 +1019,10 @@
                    $(INSTALL_DATA_DIR) "$$i"; \
                fi; \
            done
            @echo "Installing $(LIB_FILE) to $(DLL_INSTALL_DIR)/"
            @@INSTALL_LIB@
    -       @chmod 555 "$(DLL_INSTALL_DIR)/$(LIB_FILE)"
            @echo "Installing ${TCL_EXE} as $(BIN_INSTALL_DIR)/tclsh$(VERSION)${EXE_SUFFIX}"
            @$(INSTALL_PROGRAM) ${TCL_EXE} "$(BIN_INSTALL_DIR)/tclsh$(VERSION)${EXE_SUFFIX}"
            @echo "Installing tclConfig.sh to $(CONFIG_INSTALL_DIR)/"
            @$(INSTALL_DATA) tclConfig.sh "$(CONFIG_INSTALL_DIR)/tclConfig.sh"
            @echo "Installing tclooConfig.sh to $(CONFIG_INSTALL_DIR)/"
    
  5. foundin changed to: "9.0.1"
  6. is_private changed to: "0"
  7. login: "stu"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "702b65e835b7b4b4720d6e9d37fc582f82909394"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "stu"
  14. subsystem changed to: "53. Configuration and Build Tools"
  15. title changed to: "Tweak install permissions"
  16. type changed to: "Patch"