cvs commit: src/sbin/restore tape.c

Maxim Konovalov maxim at FreeBSD.org
Fri Aug 25 05:46:54 UTC 2006


maxim       2006-08-25 05:46:48 UTC

  FreeBSD src repository

  Modified files:
    sbin/restore         tape.c 
  Log:
  A bunch of fixes from NetBSD:
  
  o Restore owner/group/mode/atime/mtime of symbolic links, rev. 1.30.
  o Extract file flags of symbolic link, rev. 1.42.
  o Call getfile() before altering file attributes.
    Open file with mode 0600 instead of 0666 so that file won't remain
    group or world readable/writable even if getfile() terminated.
    Move skipfile() before altering file attributes in IF{CHR,BLK} and
    IFIFO case for symmetry, rev. 1.32.
  o Use file mode 0600 when creating special file or fifo, revs. 1.33, 1.34.
  
  o Remove redundant -N check.
  
  PR:             bin/101660
  Submitted by:   Andrey V. Elsukov
  Obtained from:  NetBSD, enami at netbsd
  MFC after:      6 weeks
  
  Revision  Changes    Path
  1.45      +23 -17    src/sbin/restore/tape.c


More information about the cvs-src mailing list