[MacPorts] #53451: mc installs as root with root-only permissions under Sierra. So when mc runs as user, it can't save anything

MacPorts noreply at macports.org
Tue Jan 31 18:56:43 UTC 2017


#53451: mc installs as root with root-only permissions under Sierra. So when mc
runs as user, it can't save anything
---------------------+-------------------
 Reporter:  fyngyrz  |      Owner:
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:  2.3.5
 Keywords:           |       Port:  mc
---------------------+-------------------
 Basically, all installed config files and directories are created
 rw(x)------ and so you can any save anything about a mc or mcedit
 operation when "sudo mc". The install does set things up in the user
 folder, but the permissions are wrong.

 This is compounded by mc claiming it is saving things in ~/.config/mc,
 when it is actually trying to save to ~/.local/share/mc

 Made it pretty hard to find out WTF was going on.

 Folders should be created with the username with rwx------ or with root
 rwxrwxrwx

 Config files should be created with the username with rw---------- or with
 root rw-rw-rw-

 --fyngyrz

--
Ticket URL: <https://trac.macports.org/ticket/53451>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list