[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
Mon Feb 6 22:15:38 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: mkae
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.3.5
Resolution: | Keywords:
Port: mc |
----------------------+----------------------
Old description:
> 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
New description:
Basically, all installed config files and directories are created
rw(x)------ and so you can only 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
--
Comment (by mkae):
Replying to [comment:1 fyngyrz]:
> 1st line s/b: "can only save", sorry
I fixed that for you.
--
Ticket URL: <https://trac.macports.org/ticket/53451#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list