Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Apr 1997 23:02:55 -0600
From:      Warner Losh <imp@village.org>
To:        current@freebsd.org
Subject:   Bug in dump | restore
Message-ID:  <E0wI5p1-0004eB-00@rover.village.org>

next in thread | raw e-mail | index | archive | help

Consider:

# newfs /some/place/interesting
# mount /some/place/interesting
# cd /some/place/interesting
# dump 0f - /usr | restore -rf -
...
warning: cannot create hard link ./bin/ypchsh->./bin/chpass: Operation not permitted
warning: cannot create hard link ./bin/ypchfn->./bin/chpass: Operation not permitted
warning: cannot create hard link ./bin/ypchpass->./bin/chpass: Operation not permitted
warning: cannot create hard link ./bin/chsh->./bin/chpass: Operation not permitted
warning: cannot create hard link ./bin/chfn->./bin/chpass: Operation not permitted
warning: cannot create hard link ./bin/yppasswd->./bin/passwd: Operation not permitted

chpass and passwd are imutable, so the hardlink fails.  I claim this
is a bug.  Can anybody think of a good reason to think of this as a
desirable feature?

Warner

P.S.  All the links should be created and then the mutable flags
should be set, imho.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E0wI5p1-0004eB-00>