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



  • Members
  • Pip
  • 2 posts

Posted 21 June 2019 - 06:43 PM


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:


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?


#2 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

p4 configure set filesys.checklinks=2

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users