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

Re: Preserving ownership and set*id bits

From
APAndy Parkins <andyparkins@gmail.com>
Date
Jan 18, 2007, 20:10 UTC
Message-ID
<200701182010.41183.andyparkins@gmail.com>
In-Reply-To
<769697AE3E25EF4FBC0763CD91AB1B0201D49679@MBGMail01.mobot.org>
On Thursday 2007, January 18 17:09, Ron Parker wrote:
> Anyway, I'm not here to complain, but I am looking for suggestions of
> how I might store and preserve this information as well.

Storing it is fairly easy. You can use getfacl in the pre-commit hook to record all the file information you want.

The hard part (at the moment) is that there is no post-checkout hook that you could use to restore those attributes.

If you were willing to manually run that restoration script after every checkout then there is your answer.

Andy
-- 
Dr Andrew Parkins, M Eng (Hons), AMIEE
andyparkins@gmail.com
Previous: Ron Parker
Message 2 of 2 in “Preserving ownership and set*id bits”
  1. Ron ParkerJan 18, 2007
  2. Andy ParkinsJan 18, 2007

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.