[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
rewriting directory owner
From: |
Dan Jacobson |
Subject: |
rewriting directory owner |
Date: |
12 Apr 2001 06:30:12 +0800 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
Hi. As root first extract. Then notice one doesn't want the original
owner. So, extract on top of the original, adding --no-same-owner.
Result: directories still retain original owners, though files get new
root ownership. Also, do it in reverse, wanting the original owners.
Result, keeps root as owner of directories.
tar (GNU tar) 1.13.17
1014 tar xvzf ~jidanni/sgml-lib.tar.gz
1020 tar -xvz --no-same-owner -f ~jidanni/sgml-lib.tar.gz
Also, in info page
`--no-same-owner'
When extracting an archive, do not attempt to preserve the owner
specified in the `tar' archive. This the default behavior for
ordinary users; this option has an effect only for the superuser.
OK, but say who the new owner will be [root].
--
http://www.geocities.com/jidanni Tel886-4-25854780 積丹尼
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- rewriting directory owner,
Dan Jacobson <=