summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-05-16 20:04:13 +0200
committerLudovic Courtès <ludo@gnu.org>2013-05-16 20:04:13 +0200
commit70c4329172020bf6cc81170c379ef8d0bd0a9ba0 (patch)
tree7d3101453794daede43885f44499474c940e341d /doc
parent101d9f3fd43b436d5dc7ef13e644c7fbbc7f62d5 (diff)
downloadgnu-guix-70c4329172020bf6cc81170c379ef8d0bd0a9ba0.tar
gnu-guix-70c4329172020bf6cc81170c379ef8d0bd0a9ba0.tar.gz
package: Make sure the profile directory is owned by the user.
* guix/scripts/package.scm (guix-package)[ensure-default-profile]: Check the owner of %PROFILE-DIRECTORY. Report an error when the owner is not the current user. Add `rtfm' procedure. * doc/guix.texi (Invoking guix package): Mention the ownership test.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index c0f8f0fc82..54325a5b16 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -490,7 +490,8 @@ directory is normally
@var{localstatedir} is the value passed to @code{configure} as
@code{--localstatedir}, and @var{user} is the user name. It must be
created by @code{root}, with @var{user} as the owner. When it does not
-exist, @command{guix package} emits an error about it.
+exist, or is not owned by @var{user}, @command{guix package} emits an
+error about it.
The @var{options} can be among the following: