Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: General » microsoft.public.windows.file_system
Thread: Symbolic link retargeting?

HTVi
TV Discussion Newsgroups

Symbolic link retargeting?
Justin James 12/10/2008 8:24:08 PM
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
RE: Symbolic link retargeting?
Justin James 12/10/2008 8:29:01 PM
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:

[Quoted Text]
> 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
Nevermind!
Justin James 12/10/2008 8:53:02 PM
No worries, I figured out the answer to this! I discovered that icacls, in
conjunction with figuring out the hidden container for Hyper-V users, lets me
do what I needed to do!

J.Ja

"Justin James" wrote:

[Quoted Text]
> 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

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen