Skip to content
Tcl Source Code History Of Ticket 31d4fa115b
Login

History Of Ticket 31d4fa115b

Artifacts Associated With Ticket 31d4fa115b

  1. Ticket change [7978f56fd1] (rid 236943) by stu on 2025-01-20 11:28:20:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized 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 initialized to: "9.0.1"
    6. is_private initialized to: "0"
    7. login: "stu"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "702b65e835b7b4b4720d6e9d37fc582f82909394"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "stu"
    14. subsystem initialized to: "53. Configuration and Build Tools"
    15. title initialized to: "Tweak install permissions"
    16. type initialized to: "Patch"
  2. Ticket change [982d751cc8] (rid 236944) by stu on 2025-01-20 12:54:35:

    1. icomment:
      Also, is it necessary to install the .so with executable permissions?
      Why not 644?
      
    2. login: "stu"
    3. mimetype: "text/plain"
    4. username: "stu"
  3. Ticket change [4e6f92bf89] (rid 237091) by stu on 2025-01-21 16:31:13:

    1. assignee changed to: "jan.nijtmans"
    2. login: "stu"
    3. mimetype: "text/plain"
  4. Ticket change [f2bfa8ad99] (rid 243829) by soshiny on 2025-08-06 10:10:44:

    1. icomment:
      I'd like to add that I ran into troubles with the Conan package of tcl (and tk) due to the missing write permissions on the .so files. I would be in favor of 755 permissions as well.
      
      See: https://github.com/conan-io/conan-center-index/issues/28050.
      
    2. login: "soshiny"
    3. mimetype: "text/plain"
  5. Ticket change [5667744904] (rid 243963) by jan.nijtmans on 2025-08-12 10:30:15:

    1. icomment:
      I agree that 755 is more logical, and prevents possible problems. I don't see any negative impact with this change.
      
      [135761fd80f03fd1]
      
    2. login: "jan.nijtmans"
    3. mimetype: "text/x-fossil-wiki"
  6. Ticket change [24fec91c6f] (rid 244049) by jan.nijtmans on 2025-08-13 09:44:50:

    1. closedate changed to: "2460900.90613652"
    2. closer changed to: "jan.nijtmans"
    3. icomment:
      Fixed in [6cd38367d23d2018|9.0] and 9.1.
      
      Closing.
      
      If there is desire to backport this to 8.6 as well, please let it know in this ticket. Since 8.6.17 is near, I don't want to do the backport now.
      
    4. login: "jan.nijtmans"
    5. mimetype: "text/x-fossil-wiki"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"