Changes

From SME Server
Jump to navigationJump to search
88 bytes added ,  16:58, 27 December 2008
→‎Alternative 3: Mounting and Symlinking: change cp to use "ai" instead of "rip"; clarify chown line
Line 224: Line 224:     
4.3 Change ownership as in the original. The "-R" (optional) means recursive, subdirectorys will be included in the command.
 
4.3 Change ownership as in the original. The "-R" (optional) means recursive, subdirectorys will be included in the command.
  chown -R admin:allstaff /mnt/newdisk/ibays/IBAYNAME
+
  chown -R originaluser:originalgroup /mnt/newdisk/ibays/IBAYNAME
    
4.4 Set permissions to the ibay IBAYNAME as in the original. For help on this, look at bottom of this page. The "-R" (optional) means recursive, subdirectorys will be included in the command.  
 
4.4 Set permissions to the ibay IBAYNAME as in the original. For help on this, look at bottom of this page. The "-R" (optional) means recursive, subdirectorys will be included in the command.  
 
  chmod 775 -R /mnt/newdisk/ibays/IBAYNAME  
 
  chmod 775 -R /mnt/newdisk/ibays/IBAYNAME  
   −
4.5 Copy the content to your new disk
+
4.5 Copy the content to your new disk (a=archive option to preserve owner/group/permissions/links; i=interactive):
  cp -rip /home/e-smith/files/ibays/IBAYNAME/* /mnt/newdisk/ibays/IBAYNAME  
+
  cp -ai /home/e-smith/files/ibays/IBAYNAME/* /mnt/newdisk/ibays/IBAYNAME  
    
4.6 Check if all files have been copied correctly
 
4.6 Check if all files have been copied correctly
147

edits

Navigation menu