On 14/01/2024 16:04, Chris wrote:
> On 14/01/2024 14:11, Bruce Horrocks wrote:
>> On 14/01/2024 13:22, Chris wrote:
>>>
>>> Newish Mac. Installed iTerm2 and trying to navigate the filesystem,
>>> but One Drive folders returning "Operation not permitted" for simple
>>> things like 'ls'. I can 'cd' into these folders however. What gives?
>>
>> Have those OneDrive folders synced locally yet?
>
> Yes OneDrive has been running for a few weeks now.
This is the main thing. If all synced then it's a permissions/security
thing.
>> Finder may have the necessary extensions added for OneDrive to be able
>> to intercept requests and get the files transferred before an error
>> occurs, whereas the command line might be too low level?
>
> I do see your point, but then how does 'cd' work just fine?
Directories stopped being "regular files" a long time ago. Presumably
ADFS holds its directory information in such a way that reading it
doesn't trigger the security intervention that is stopping you accessing
normal files.