之前见到tar解压之后的文件或目录的uid和gid为数字,于是错误地以为(这之间似乎也没什么逻辑),tar打包时只记录了uid和gid的数字信息。
然而事实并非如此。
当本地系统上有相同的user时,那么tar解压时,会自动将uid和gid转换成本地相同用户名和组名的uid和gid。
于是这般,方便多了。也合情合理。
Tags: tar
This entry was posted on 星期二, 五月 12th, 2009 at 6:31 and is filed under Linux. You can follow any comments to this entry through the RSS 2.0 feed. You can leave a comment, or trackback from your own site.
Name (required)
Email (required)
Website
Comment