Ticket #2761 (new defect) — at Initial Version

Opened 12 years ago

Last modified 12 years ago

save file on top of existing directory changes dir's permissions

Reported by: slyfox Owned by:
Priority: major Milestone: 4.8.3
Component: mc-core Version: 4.8.2
Keywords: Cc:
Blocked By: Blocking:
Branch state: merged Votes for changeset:

Description

Steps to reproduce:

mkdir foo
chmod 0700 foo
mcedit bar
# Shift+F2
# save as 'foo'
# Overwrite? Yes
# Save anyway? Yes
# Exit
ls -ld foo
drw-r--r-- 1 slyfox users 0 Mar 22 22:10 foo

We've lost dir's permissions.

Note: See TracTickets for help on using tickets.