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:                                                  
 
                                                                              
 
[EMAIL PROTECTED]:bash</tmp>$ ln -s cycle cycle                                 
  
 
[EMAIL PROTECTED]: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:                          
 
                                                                              
 
[EMAIL PROTECTED]: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/

_______________________________________________
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel

Reply via email to