Summary: | app-misc/mc-4.8.2 can't run mceedit without file name as parameter | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Marcin Mirosław <bug> |
Component: | Current packages | Assignee: | Sergei Trofimovich (RETIRED) <slyfox> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | desktop-misc, wired |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://www.midnight-commander.org/ticket/2754 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | mc-4.8.2-2754.diff |
Description
Marcin Mirosław
2012-03-21 09:05:05 UTC
Created attachment 306287 [details, diff] mc-4.8.2-2754.diff Upstream patch directly taken from https://www.midnight-commander.org/changeset/529a7ba24c9da9fdb1df939ff0fe35c6d27e65df fixed in mc-4.8.2-r1. thanks :) Thanks for taking it upstream. But... There is another problem with mcedit. Please look at this: $ mkdir testtest $ stat testtest File: `testtest/' Size: 4096 Blocks: 8 IO Block: 4096 directory Device: fd04h/64772d Inode: 75 Links: 2 Access: (0700/drwx------) Uid: ( 1000/ marcin) Gid: ( 1000/ marcin) Access: 2012-03-22 17:27:48.815833915 +0100 Modify: 2012-03-22 17:27:48.815833915 +0100 Change: 2012-03-22 17:27:48.815833915 +0100 Birth: - $ mceedit <write something> <F2-> enter file name->testtest> "A file already exists with this name" -> choose "Overwrite" "File has hard-links. Detach before saving?"-> choose "Yes" "Cannot save file"->Dismiss <and again without quiting mceedit> <F2-> enter file name->testtest> "A file already exists with this name" -> choose "Overwrite" <hey, where is question about hard links?> "Cannot save file"->Dismiss <quit qithout saving> $ stat testtest/ File: `testtest/' Size: 4096 Blocks: 8 IO Block: 4096 directory Device: fd04h/64772d Inode: 75 Links: 2 Access: (0644/drw-r--r--) Uid: ( 1000/ marcin) Gid: ( 1000/ marcin) Access: 2012-03-22 17:27:48.815833915 +0100 Modify: 2012-03-22 17:27:48.815833915 +0100 Change: 2012-03-22 17:28:47.265891420 +0100 Please look at permissions, they are changed. I hope description how to reproduce error is understable, it's hard to paste ncurses window;) And most important thing: "testtest" is directory, there shouldn't be any question about removing hardlinks. Hmm, should it be new bug at b.g.o? (In reply to comment #4) > And most important thing: "testtest" is directory, there shouldn't be any > question about removing hardlinks. > Hmm, should it be new bug at b.g.o? Yes please. I'll report it upstream meanwhile. > Yes please. I'll report it upstream meanwhile. https://www.midnight-commander.org/ticket/2761 Thanks, new bug: bug #409365 |