aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-09-16 17:38:58 +0200
committerMattias Andrée <maandree@operamail.com>2013-09-16 17:38:58 +0200
commit22282c82ec453c82a00fdffd77cb2c8fcbb6cea8 (patch)
treea77d82aaae56c17ae85cc6440af5a7b634063755
parenttypo (diff)
downloadusing-git-22282c82ec453c82a00fdffd77cb2c8fcbb6cea8.tar.gz
using-git-22282c82ec453c82a00fdffd77cb2c8fcbb6cea8.tar.bz2
using-git-22282c82ec453c82a00fdffd77cb2c8fcbb6cea8.tar.xz
on file permissions
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--using-git.texinfo48
1 files changed, 48 insertions, 0 deletions
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