RSwitch
RSwitch copied to clipboard
version selection not working from non-admin account
Hi,
When I use the menu from the menubar icon to select the other version of R (from my regular user account), I get an error that the symlink can’t be deleted and that the new one can be created… I suspect that this works fine from accounts which have admin rights and that the problem is that I’m using a regular account. Is that the case? can you think of something else?
Thank you very much. Best, Thomas
sorry I didn't manage to copy text from the Notification Center…
just updated to 1.7.0 but the same issue persists :( Would it be possible to ask for credentials when version selection is done from an account which doesn't have permission to write files in the R install dir.
(making a note for myself)
potentially diverge the code into two bits one that uses system exec and ln
via https://github.com/sveinbjornt/STPrivilegedTask and keep the other one (pure macOS code).
alternative is to just switch both to use the exec to ln
like the fortcoming update to the command-line switcher has.