Opened 7 years ago

Last modified 7 years ago

#53451 closed defect

mc installs as root with root-only permissions under Sierra. So when mc runs as user, it can't save anything — at Version 3

Reported by: fyngyrz (Ben) Owned by: mkae (Marko Käning)
Priority: Normal Milestone:
Component: ports Version: 2.3.5
Keywords: Cc:
Port: mc

Description (last modified by mkae (Marko Käning))

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

Change History (3)

comment:1 Changed 7 years ago by fyngyrz (Ben)

1st line s/b: "can only save", sorry

comment:2 Changed 7 years ago by mf2k (Frank Schima)

Owner: set to mkae
Status: newassigned

In the future, please Cc the port maintainers (port info --maintainers mc), if any.

comment:3 in reply to:  1 Changed 7 years ago by mkae (Marko Käning)

Description: modified (diff)

Replying to fyngyrz:

1st line s/b: "can only save", sorry

I fixed that for you.

Note: See TracTickets for help on using tickets.