From 70c4329172020bf6cc81170c379ef8d0bd0a9ba0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Thu, 16 May 2013 20:04:13 +0200 Subject: 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. --- doc/guix.texi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'doc') 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: -- cgit v1.2.3