Saving setting - Permission denied
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mc (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: mc
Hi,
when im running mc like root ( sudo mc ) and exit, setting is saved with root:root privileges. Next run when im running it like normal user, mc isnt able to save setting because isnt allowed to write into ~/.mc/ini
ps@T61:~$ sudo ls -lsa ~/ | egrep ".mc"
ls: cannot access /home/ps/.gvfs: Permission denied
4 drwx------ 3 root root 4096 2010-11-15 14:17 .mc
ps@T61:~$ sudo ls -lsa ~/.mc
celkem 28
4 drwx------ 3 root root 4096 2010-11-15 14:17 .
4 drwxr-xr-x 59 ps ps 4096 2010-11-15 13:11 ..
4 drwx------ 2 root root 4096 2010-11-02 14:40 cedit
0 -rw-r--r-- 1 root root 0 2010-11-02 14:41 filepos
4 -rw------- 1 root root 123 2010-11-15 14:17 history
4 -rw-r--r-- 1 root root 2623 2010-11-15 14:17 ini
4 -rw-r--r-- 1 root root 712 2010-11-15 14:17 panels.ini
4 -rw-r--r-- 1 root root 35 2010-11-15 14:17 Tree
Which version are you using? Try one from my PPA, it should work fine in this scenario.