0

The local folder /private/var/root (owner: root / group: wheel) on OSX (El Capitan) contains certain data that I would like to have "read/write" access; e.g., /private/var/root/Library/Caches. In the terminal, this can be done by typing the sudo -s command. How can these folders/files be accessed (read/write) using dired-mode?

Drew
  • 75,699
  • 9
  • 109
  • 225
lawlist
  • 18,826
  • 5
  • 37
  • 118
  • 2
    `C-x d /sudo::/private/var/root` ? – phils Dec 22 '21 at 22:01
  • @phils -- yes, that resolves the issue. I was looking for a way to pass along the "-s" command line option, but dired seems quite capable to handle this without manually adding that. Thank you. – lawlist Dec 22 '21 at 22:34
  • 1
    `sudo -s` (at least on my system) is for starting a shell, which isn't really relevant to dired. – phils Dec 22 '21 at 23:09

0 Answers0