Jump to content


Perforce converts relative symbolic links to absolute symbolic links


  • Please log in to reply
1 reply to this topic

#1 kevin@arilabs.net

kevin@arilabs.net

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 21 June 2019 - 06:43 PM

Hello,

When adding files from a directory on a computer that contains relative symbolic links, for example:

lrwxrwxrwx 1 1001 1001     13 Nov 26  2013 recurse.mk -> mk/recurse.mk

it converts them to absolute path names on a computer that gets the latest version.  To top that off, the abosulte link is based on the file location on the computer used to populate the stream.

For example, if the above link was in the directory:

/home/foo/theDirectory

On the destination computer the link would look like this:
lrwxrwxrwx 1 1001 1001     13 Nov 26  2013 recurse.mk -> /home/foo/theDirectory.

How can I get perforce to stop translating symbolic links?

Thanks
Kevin

#2 p4rfong

p4rfong

    Advanced Member

  • Staff Moderators
  • 343 posts

Posted 12 July 2019 - 06:48 PM

Probably not what you are looking for, but check filesys.checklinks to disallow symlinks
https://www.perforce...gurables.html#F

p4 configure set filesys.checklinks=2




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users