git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 0/1] Introduce new build variables INSTALL_MODE_EXECUTABLE and INSTALL_MODE_DATA.

From
TTJ <git@iam.tj>
Date
Jan 31, 2013, 02:08 UTC
Message-ID
<5109D21D.8010701@iam.tj>

During a build/install cycle of the current HEAD whilst attempting to identify the cause of a bug in git version 1.8.0.3 whilst doing:

GIT_CURL_VERBOSE=1 git clone -v https://git01.codeplex.com/typescript
* GnuTLS recv error (-9): A TLS packet with unexpected length was received.
* Closing connection #0
error: RPC failed; result=56, HTTP code = 200

I hit a local install failure whilst installing to the prefix /usr/local/ where the $(INSTALL) command reported a Permission Denied error.

This was due to the $(INSTALL) modes being 755/644 but the file-system modes being 775/664. In this case ownership and permissions are:

$ ls -ald /usr/local drwxrwxr-x 13 root adm 4096 Sep 26 04:16 /usr/local

Users belonging to the 'adm' group have permission to install local packages.

The fix I've implemented is to convert the hard-coded 755/644 modes to variables which can be over-ridden on the make command-line if necessary.

Message 1 of 1 in “Introduce new build variables INSTALL_MODE_EXECUTABLE and INSTALL_MODE_DATA.”
  1. 0/1 Introduce new build variables INSTALL_MODE_EXECUTABLE and INSTALL_MODE_DATA.TJ, Jan 31, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.