From 22282c82ec453c82a00fdffd77cb2c8fcbb6cea8 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 16 Sep 2013 17:38:58 +0200 Subject: on file permissions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- using-git.texinfo | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) (limited to 'using-git.texinfo') diff --git a/using-git.texinfo b/using-git.texinfo index 0b676c3..9a95844 100644 --- a/using-git.texinfo +++ b/using-git.texinfo @@ -58,6 +58,7 @@ Texts. A copy of the license is included in the section entitled * I just don't know what went wrong:: * Version control:: * Interface:: +* Features:: * Beyond Git:: * GNU Free Documentation License:: * Glossary:: @@ -1297,6 +1298,53 @@ is annoying. +@node Features +@chapter Features + +@menu +* Git and permissions: +@end menu + + + +@node Git and permissions +@section Git and permissions + +File systems lets you set permissions +for users on files. Permissions, such +as whether the owner, a specific user +group, or others, can read, write or +execute the file as well as whether +the permissions of the owner if the +file is granted the execute instance +of the program for further permissions +that are mission critical. + +Tracking permissions in version control +system makes no senses since source code +should always be readable and writable +by the owner and it is local configuration +whether you want to extend those +permissions to other users on your +computer. + +However there are source code that is +executable, scripts, such as Bash, Perl +and Python. This is may Git does however +track the execution bits. The set-user-ID +bit and the set-group-ID bit is however +not tracked, nor should they, those +should only be set when the program is +being installed. + +Git does not track directories, so permissions +no directories are also ignored. + +Be aware that some systems sets the execution +bit willy-nilly when a file is created. + + + @node Beyond Git @chapter Beyond Git -- cgit v1.2.3-70-g09d2