Announcement

Collapse
No announcement yet.

Problem with Symlink pointing to directory

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem with Symlink pointing to directory

    Hi everyone,

    we are using BC Version 4.1.6 (build 21095) on Windows but accessing data on unix servers.
    My current setting is the following:
    Code:
    $> ls dir1
    dir1/.dr/20170116
    dir1/.dr/20170130
    dir1/latest_greatest -> [B][COLOR="#FF0000"].dr/20170130[/COLOR][/B]
    Code:
    $> ls dir2
    dir2/.dr/20170116
    dir2/.dr/20170130
    dir2/latest_greatest ->[B][COLOR="#0000FF"] .dr/20170116[/COLOR][/B]
    I have several data directories simply named after the date they were released. Aside from that I have a link to the latest greatest data dir. Links are all created under Unix with ln -s (symlink).

    So now my issue:
    When I compare dir1 to dir2 in BC 4.1.6, it shows me discrepencies. Which is awaited. What I want now, is that when I do a copy of dir1 to dir2 I get the link updated, not its destination. I.e.:
    Code:
    $> ls dir2
    dir2/.dr/20170116
    dir2/.dr/20170130
    dir2/latest_greatest ->[B][COLOR="#FF0000"] .dr/20170130[/COLOR][/B]
    But instead, BC copies me the content of dir1/latest_greates to dir2/latest_greatest...

    Any guesses what I could possibly do wrong?
    BTW, I have deselected the option Follow Symbolic links tickbox in Session parameters.

    Thanks a lot for your support!

    Cheers,
    Arthur

  • #2
    Are you accessing the data on the Unix servers via FTP, SFTP, or a Samba share? If you're using FTP, what FTP server software is running on the Unix server?
    Chris K Scooter Software

    Comment

    Working...
    X