Accessing Workspace / Repo file works in notebook, but not from job

dollyb
Contributor II

In a notebook attached to.a normal personal cluster I can successfully do this:

%fs ls file:/Workspace/Repos/$userName/$repoName/$folderName

When I run an init-script on a UC volume that the does the same thing, I'm getting this error:

ls: cannot access 'file:/Workspace/Repos/$userName/$repoName/$folderName': No such file or director

Both are run by the same user.