Author Bo98
Recipients Bo98, amgedr, barry, maggyero, miss-islington, ned.deily, ronaldoussoren, terry.reedy
Date 2019-12-17.15:36:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1576597007.7.0.300560397918.issue38295@roundup.psfhosted.org>
In-reply-to
Content
> You don't even need a C program to reproduce

Indeed, touch is built upon the POSIX file API (unless Apple modified it). The idea for the Apple bug report was to show it happening at a low level and not specific to a given tool.

> And the "cd" is optional, I get the same error from my home directory

Yes, /private/tmp is just an example but I'd be cautious saying the same happens everywhere. You won't be able to reproduce the issue if your current directory is /usr.

/private/tmp, your home directory, etc. are all "firmlinked" to /System/Volumes/Data in Catalina. /System/Volumes/Data/private/tmp exists but /System/Volumes/Data/tmp doesn't exist. This shouldn't really be an issue as the idea of firmlinks is to make the /System/Volumes/Data invisible and thus you should be able to relatively go back up to the /System/Volumes/Data and be transported back to the root directory, where you can find the /tmp symlink (and indeed that works fine with `ls`). Evidently that doesn't seem to work properly for file operations.
History
Date User Action Args
2019-12-17 15:36:47Bo98setrecipients: + Bo98, barry, terry.reedy, ronaldoussoren, ned.deily, maggyero, miss-islington, amgedr
2019-12-17 15:36:47Bo98setmessageid: <1576597007.7.0.300560397918.issue38295@roundup.psfhosted.org>
2019-12-17 15:36:47Bo98linkissue38295 messages
2019-12-17 15:36:47Bo98create