Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
#2924: [patch] copy_dir_dir: attributes of existing directories are never preserved
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  8 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Ticket System  
View profile  
 More options Nov 5 2012, 12:12 pm
From: "Ticket System" <tick...@midnight-commander.org>
Date: Mon, 05 Nov 2012 17:12:11 -0000
Local: Mon, Nov 5 2012 12:12 pm
Subject: [Midnight Commander] #2924: [patch] copy_dir_dir: attributes of existing directories are never preserved
#2924: [patch] copy_dir_dir: attributes of existing directories are never
preserved
---------------------------------+--------------------------------
           Reporter:  slackmail  |         Owner:
               Type:  defect     |        Status:  new
           Priority:  major      |     Milestone:  Future Releases
          Component:  mc-core    |       Version:  master
           Keywords:             |    Blocked By:
           Blocking:             |  Branch state:  no branch
Votes for changeset:             |
---------------------------------+--------------------------------
 Copying a directory tree (e.g. from a safe backup location (with sane
 permission, owner, group, timestamp) over an existing tree does not
 preserve ANY attributes.

 - Found in version 4.8.x

 After a little bit of playing with the source code I found two issues in
 "src/filemanager/file.c"

 - "dest_dir_vpath" remaines uninitialized if the directory exists because
 of the "goto dont_mkdir;"
 - "goto dont_mkdir;" jumps over the "mc_chown" block

 So if the *superuser* copies a backup directory tree over an existing,
 the following happens:

 In 4.8.x:
  All destination dirs retain ALL their existing(!) attributes.
 In older versions:
  All destination dirs get correct permissions and timestamp, but owner and
 group are unchanged.

 The second bug really affects the superuser, as owner and group are
 normally preserved in this situation!

 TIA, hope this gets fixed before any admins severely screw up any
 systems....

--
Ticket URL: <http://www.midnight-commander.org/ticket/2924>
Midnight Commander <http://www.midnight-commander.org>
Midnight Development Center


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ticket System  
View profile  
 More options Nov 5 2012, 12:56 pm
From: "Ticket System" <tick...@midnight-commander.org>
Date: Mon, 05 Nov 2012 17:56:41 -0000
Local: Mon, Nov 5 2012 12:56 pm
Subject: Re: [Midnight Commander] #2924: [patch] copy_dir_dir: attributes of existing directories are never preserved
#2924: [patch] copy_dir_dir: attributes of existing directories are never
preserved
--------------------------+------------------------------
    Reporter:  slackmail  |                Owner:
        Type:  defect     |               Status:  new
    Priority:  critical   |            Milestone:  4.8.7
   Component:  mc-core    |              Version:  master
  Resolution:             |             Keywords:
  Blocked By:             |             Blocking:
Branch state:  no branch  |  Votes for changeset:
--------------------------+------------------------------
Changes (by slackmail):

 * priority:  major => critical
 * milestone:  Future Releases => 4.8.7

--
Ticket URL: <http://www.midnight-commander.org/ticket/2924#comment:1>
Midnight Commander <http://www.midnight-commander.org>
Midnight Development Center


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ticket System  
View profile  
 More options Nov 25 2012, 4:56 am
From: "Ticket System" <tick...@midnight-commander.org>
Date: Sun, 25 Nov 2012 09:56:25 -0000
Local: Sun, Nov 25 2012 4:56 am
Subject: Re: [Midnight Commander] #2924: [patch] copy_dir_dir: attributes of existing directories are never preserved
#2924: [patch] copy_dir_dir: attributes of existing directories are never
preserved
--------------------------+----------------------------------------
    Reporter:  slackmail  |                Owner:  andrew_b
        Type:  defect     |               Status:  accepted
    Priority:  critical   |            Milestone:  4.8.7
   Component:  mc-core    |              Version:  master
  Resolution:             |             Keywords:  stable-candidate
  Blocked By:             |             Blocking:
Branch state:  on review  |  Votes for changeset:
--------------------------+----------------------------------------
Changes (by andrew_b):

 * keywords:   => stable-candidate
 * owner:   => andrew_b
 * status:  new => accepted
 * branch_state:  no branch => on review

Comment:

 Branch: 2924_preserve_dir_attributes (parent: master).
 Initial changeset:48d2026dc23d42c4db45b93bd1dcbc53146b945e

--
Ticket URL: <http://www.midnight-commander.org/ticket/2924#comment:2>
Midnight Commander <http://www.midnight-commander.org>
Midnight Development Center


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ticket System  
View profile  
 More options Nov 27 2012, 10:40 am
From: "Ticket System" <tick...@midnight-commander.org>
Date: Tue, 27 Nov 2012 15:40:34 -0000
Local: Tues, Nov 27 2012 10:40 am
Subject: Re: [Midnight Commander] #2924: [patch] copy_dir_dir: attributes of existing directories are never preserved
#2924: [patch] copy_dir_dir: attributes of existing directories are never
preserved
--------------------------+----------------------------------------
    Reporter:  slackmail  |                Owner:  andrew_b
        Type:  defect     |               Status:  accepted
    Priority:  critical   |            Milestone:  4.8.7
   Component:  mc-core    |              Version:  master
  Resolution:             |             Keywords:  stable-candidate
  Blocked By:             |             Blocking:
Branch state:  on review  |  Votes for changeset:  angel_il
--------------------------+----------------------------------------
Changes (by angel_il):

 * votes:   => angel_il

--
Ticket URL: <http://www.midnight-commander.org/ticket/2924#comment:3>
Midnight Commander <http://www.midnight-commander.org>
Midnight Development Center


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ticket System  
View profile  
 More options Nov 28 2012, 7:04 am
From: "Ticket System" <tick...@midnight-commander.org>
Date: Wed, 28 Nov 2012 12:04:32 -0000
Local: Wed, Nov 28 2012 7:04 am
Subject: Re: [Midnight Commander] #2924: [patch] copy_dir_dir: attributes of existing directories are never preserved
#2924: [patch] copy_dir_dir: attributes of existing directories are never
preserved
--------------------------+----------------------------------------
    Reporter:  slackmail  |                Owner:  andrew_b
        Type:  defect     |               Status:  accepted
    Priority:  critical   |            Milestone:  4.8.7
   Component:  mc-core    |              Version:  master
  Resolution:             |             Keywords:  stable-candidate
  Blocked By:             |             Blocking:
Branch state:  on review  |  Votes for changeset:  angel_il
--------------------------+----------------------------------------
Changes (by gotar):

 * cc: gotar@… (added)

--
Ticket URL: <http://www.midnight-commander.org/ticket/2924#comment:4>
Midnight Commander <http://www.midnight-commander.org>
Midnight Development Center


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ticket System  
View profile  
 More options Nov 29 2012, 5:39 am
From: "Ticket System" <tick...@midnight-commander.org>
Date: Thu, 29 Nov 2012 10:39:23 -0000
Local: Thurs, Nov 29 2012 5:39 am
Subject: Re: [Midnight Commander] #2924: [patch] copy_dir_dir: attributes of existing directories are never preserved
#2924: [patch] copy_dir_dir: attributes of existing directories are never
preserved
--------------------------+-------------------------------------------
    Reporter:  slackmail  |                Owner:  andrew_b
        Type:  defect     |               Status:  accepted
    Priority:  critical   |            Milestone:  4.8.7
   Component:  mc-core    |              Version:  master
  Resolution:             |             Keywords:  stable-candidate
  Blocked By:             |             Blocking:
Branch state:  approved   |  Votes for changeset:  angel_il slavazanko
--------------------------+-------------------------------------------
Changes (by slavazanko):

 * votes:  angel_il => angel_il slavazanko
 * branch_state:  on review => approved

--
Ticket URL: <http://www.midnight-commander.org/ticket/2924#comment:5>
Midnight Commander <http://www.midnight-commander.org>
Midnight Development Center


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ticket System  
View profile  
 More options Nov 29 2012, 5:46 am
From: "Ticket System" <tick...@midnight-commander.org>
Date: Thu, 29 Nov 2012 10:46:49 -0000
Local: Thurs, Nov 29 2012 5:46 am
Subject: Re: [Midnight Commander] #2924: [patch] copy_dir_dir: attributes of existing directories are never preserved
#2924: [patch] copy_dir_dir: attributes of existing directories are never
preserved
--------------------------+----------------------------------------
    Reporter:  slackmail  |                Owner:  andrew_b
        Type:  defect     |               Status:  testing
    Priority:  critical   |            Milestone:  4.8.7
   Component:  mc-core    |              Version:  master
  Resolution:  fixed      |             Keywords:  stable-candidate
  Blocked By:             |             Blocking:
Branch state:  approved   |  Votes for changeset:  committed-master
--------------------------+----------------------------------------
Changes (by andrew_b):

 * status:  accepted => testing
 * votes:  angel_il slavazanko => committed-master
 * resolution:   => fixed

Comment:

 Merged to master: [f0d1d9186402bfca38962eeddef15b2c4c3967ca].
 {{{
 git log --pretty=oneline 4ee4959..f0d1d91
 }}}

--
Ticket URL: <http://www.midnight-commander.org/ticket/2924#comment:6>
Midnight Commander <http://www.midnight-commander.org>
Midnight Development Center


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ticket System  
View profile  
 More options Nov 29 2012, 5:49 am
From: "Ticket System" <tick...@midnight-commander.org>
Date: Thu, 29 Nov 2012 10:49:14 -0000
Local: Thurs, Nov 29 2012 5:49 am
Subject: Re: [Midnight Commander] #2924: [patch] copy_dir_dir: attributes of existing directories are never preserved
#2924: [patch] copy_dir_dir: attributes of existing directories are never
preserved
-------------------------------------+-------------------------------------
    Reporter:  slackmail             |                Owner:  andrew_b
        Type:  defect                |               Status:  closed
    Priority:  critical              |            Milestone:  4.8.7
   Component:  mc-core               |              Version:  master
  Resolution:  fixed                 |             Keywords:
  Blocked By:                        |             Blocking:
Branch state:  approved              |  Votes for changeset:  committed-
                                     |  master committed-stable
-------------------------------------+-------------------------------------
Changes (by andrew_b):

 * keywords:  stable-candidate =>
 * status:  testing => closed
 * votes:  committed-master => committed-master committed-stable

Comment:

 Merged to 4.8.1-stable: [65569af25546b2e4906f8429d0dd73c2d863fe56].
 {{{
 git log --pretty=oneline 52108b5..65569af
 }}}

--
Ticket URL: <http://www.midnight-commander.org/ticket/2924#comment:7>
Midnight Commander <http://www.midnight-commander.org>
Midnight Development Center


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »