RE: Symbolic link retargeting?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Alternatively, I need a way to set the ownership and permissions on a file to
a user that does not exist, as far as I can tell. I have tried various
methods of setting the permissions, and they all actually check for the
validity of the permissions before applying them. I have also tries using
PowerShell to pipe to permissions from one file with the odd permissions to
the new one, but that checks the permissions as well.

This is the final step in being able to completely move a Hyper-V machine
that was imported from VMWare to directory structure which matches the rest
of our server, so its pretty important.

Thanks again!

J.Ja

"Justin James" wrote:

Hello -

I have a symbolic link that I need to retarget. Due to some other issues,
re-creating the symbolic link is *not* an option. I have already move the
file that the symbolic link points to, and I just need to set the symlink to
point to the new location.

Thanks!

J.Ja
.



Relevant Pages

  • Re: Symbolic Link -- Permissions
    ... Subject: Symbolic Link -- Permissions ... directories but it needs read/write access to those. ... create a complete separate directory and put symbolic links in there ... -- but I want the symbolic link to only have read access to the file. ...
    (AIX-L)
  • Re: Symbolic Link -- Permissions
    ... This external program also looks at some other files in other ... directories but it needs read/write access to those. ... Does anyone know of a way of setting the permissions on the symbolic link ...
    (AIX-L)
  • Re: A question on links
    ... for the purposes of the apache web server. ... Would this be a hard link or a symbolic link to do this? ... The link itself will have the default permissions and ownership of whoever created it but the *effective* permissions will be whatever is on the target directory. ...
    (alt.os.linux.suse)
  • Re: copying files to a directory using symbolic link in linux
    ... > We are using Red Hat linux on our server. ... > source directoryand full read write permissions on ... > /tmp directory by using a symbolic link for this directory created ... You could use an suid program to do the copy for you... ...
    (linux.redhat)
  • Re: copying files to a directory using symbolic link in linux
    ... > We are using Red Hat linux on our server. ... > source directoryand full read write permissions on ... > /tmp directory by using a symbolic link for this directory created ... You could use an suid program to do the copy for you... ...
    (comp.os.linux.misc)