Skip to content
This repository was archived by the owner on Feb 12, 2019. It is now read-only.
This repository was archived by the owner on Feb 12, 2019. It is now read-only.

Relative paths error on MacOS #1881

@joejacobs

Description

@joejacobs

Running the following bash commands

cd /keybase/private/user
mkdir -p a/b/c
cd a
mv b ../
cd ../b
touch ../a/d.txt
mv c ../a/

should create the following files/dirs:

Dir  /keybase/private/user/a
Dir  /keybase/private/user/a/c
File /keybase/private/user/a/d.txt
Dir  /keybase/private/user/b

This works fine on my Linux machine. But when I run it on MacOS 10.13.6, it creates the following dirs instead:

Dir /keybase/private/user/a
Dir /keybase/private/user/a/a
Dir /keybase/private/user/b

And the touch command fails with the following error:

touch: ../a/d.txt: No such file or directory

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions