* Changing ownership of symbolic links
@ 2014-04-24 12:55 Ludovic Courtès
[not found] ` <53590E90.3060503@logicblox.com>
0 siblings, 1 reply; 2+ messages in thread
From: Ludovic Courtès @ 2014-04-24 12:55 UTC (permalink / raw)
To: nix-dev; +Cc: guix-devel
Hello,
Currently, ‘canonicaliseTimestampAndPermissions’ doesn’t attempt to
canonicalize the ownership of symbolic links in store files.
Shouldn’t it try to do that with O_NOFOLLOW and then fchmod(2)?
Ludo’.
_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Changing ownership of symbolic links
[not found] ` <53590E90.3060503@logicblox.com>
@ 2014-04-24 15:32 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2014-04-24 15:32 UTC (permalink / raw)
To: nix-dev; +Cc: guix-devel
Eelco Dolstra <eelco.dolstra@logicblox.com> skribis:
> On 24/04/14 14:55, Ludovic Courtès wrote:
>
>> Currently, ‘canonicaliseTimestampAndPermissions’ doesn’t attempt to
>> canonicalize the ownership of symbolic links in store files.
>
> canonicalisePathMetaData_() uses lchown() to fix the ownership of symlinks.
Oops right, sorry for the confusion.
Ludo’.
_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-04-24 15:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-24 12:55 Changing ownership of symbolic links Ludovic Courtès
[not found] ` <53590E90.3060503@logicblox.com>
2014-04-24 15:32 ` Ludovic Courtès
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.