Re: [R-SIG-Mac] Permission issues running R in terminal

2024-02-19 Thread peter dalgaard
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

Re: [R-SIG-Mac] Permission issues running R in terminal

2024-02-19 Thread Jeroen Ooms
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 >

Re: [R-SIG-Mac] Permission issues running R in terminal

2024-02-19 Thread peter dalgaard
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

Re: [R-SIG-Mac] Permission issues running R in terminal

2024-02-19 Thread Duncan Murdoch
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:

Re: [R-SIG-Mac] Permission issues running R in terminal

2024-02-19 Thread Duncan Murdoch
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