[bug #13432] ownership is not preserved when copying symlinks



URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=13432>

                 Summary: ownership is not preserved when copying symlinks
                 Project: GNU Midnight Commander
            Submitted by: None
            Submitted on: Fri 06/17/2005 at 06:35
                Category: Core
                Severity: 3 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
                 Release: current (CVS or snapshot)
        Platform Version: All

    _______________________________________________________

Details:

(More info on:  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=314387 )

create a symlinks as a user:                                                  
 
                                                                              
 
timj birgrave:bash</tmp>$ ln -s cycle cycle                                   
 
timj birgrave:bash</tmp>$ ls -al cycle                                        
 
lrwxrwxrwx  1 timj timj 5 Jun 16 02:41 cycle -> cycle                         
 
                                                                              
 
copy the symlink with mc as root from cycle to loop:                          
 
                                                                              
 
root birgrave:bash</tmp># ls -al cycle loop                                   
 
lrwxrwxrwx  1 timj timj 5 Jun 16 02:41 cycle -> cycle                         
 
lrwxrwxrwx  1 root root 5 Jun 16 02:41 loop -> cycle                          
 
                                                                              
 
ownership isn't preserved here, loop should also be owned by                  
 
timj.timj as it works with files.








    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=13432>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]