[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem syncing dirtree with dangling symlinks

From: Adrian Phillips
Subject: Problem syncing dirtree with dangling symlinks
Date: 21 Feb 2002 07:37:10 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

I'm trying to copy a directory tree which includes a subtree which is
used to build a CD image. Now this image has symlinks that don't point
to anywhere in the current filesystem, ie. if one was to chroot to the
CD tree they would be valid.

cfengine (version 2.0.b2) does access control based upon the
realname. This doesn't work when the realname doesn't point to
anywhere because access control does a realname call :-

if (realpath(filename,realname) == NULL)
   snprintf(conn->output,bufsize*2,"Couldn't resolve filename %s from host 
   return false;

2 questions :-

- why when copying symlinks AS symlinks are the checks on the realname

- how to make cfengine copy dangling symlinks ?


Adrian Phillips

Your mouse has moved.
Windows NT must be restarted for the change to take effect.
Reboot now?  [OK]

reply via email to

[Prev in Thread] Current Thread [Next in Thread]