I have the same setup, and not seeing this. That is, _unless_ I try from a
shell running in a deleted diretory:
Peters-iMac:BUILD-dist pd$ R CMD INSTALL --help
shell-init: error retrieving current directory: getcwd: cannot access parent
directories: No such file or directory
...
(because
On Sun, Feb 18, 2024 at 11:57 PM Duncan Murdoch
wrote:
> I wanted to see the options to R CMD INSTALL, and was surprised to see
> this output:
>
> $ R CMD INSTALL --help
> shell-init: error retrieving current directory: getcwd: cannot access
> parent directories: Operation not permitted
>
To be precise: execute access, not write access.
However, neither that nor deleting the dir gives the exact "Operation not
permitted" error.
-pd
> On 19 Feb 2024, at 10:43 , Jeroen Ooms wrote:
>
> On Sun, Feb 18, 2024 at 11:57 PM Duncan Murdoch
> wrote:
>
>> I wanted to see the options to
Yes, that was it. Thanks!
Duncan
On 19/02/2024 4:28 a.m., peter dalgaard wrote:
I have the same setup, and not seeing this. That is, _unless_ I try from a
shell running in a deleted diretory:
Peters-iMac:BUILD-dist pd$ R CMD INSTALL --help
shell-init: error retrieving current directory:
On 19/02/2024 5:22 a.m., peter dalgaard wrote:
To be precise: execute access, not write access.
However, neither that nor deleting the dir gives the exact "Operation not
permitted" error.
I had deleted the directory using the Finder, so "cd .." led to
"~/.Trash". If I delete it using "rm