cvs commit: src/sbin/restore tape.c

Maxim Konovalov maxim at FreeBSD.org
Sat Oct 7 22:52:50 PDT 2006


maxim       2006-10-08 05:52:50 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sbin/restore         tape.c 
  Log:
  MFC rev. 1.45: fixes from NetBSD:
    restore owner/group/mode/atime/mtime of symbolic links;
    extract file flags of symbolic link;
    call getfile() before altering file attributes;
    open file with mode 0600 instead of 0666;
    move skipfile() before altering file attributes in IF{CHR,BLK} and
    IFIFO cases;
    use file mode 0600 when creating special file or fifo, revs. 1.33;
    remove redundant -N check.
  
  Approved by:    re (kensmith)
  
  Revision  Changes    Path
  1.44.2.1  +23 -17    src/sbin/restore/tape.c


More information about the cvs-src mailing list