linux文件夹权限复制问题.
文件夹b,属主为b:d.
如果用root复制a到b后,a及包含的文件及目录的属主变为root:root,请教有没有什么办法让a复制到b后直接继承b的属主和权限?
作者: zhaodasong 发布时间: 2011-03-04
作者: chenyx 发布时间: 2011-03-04
想了解有没有复制过去后直接能继承目录文件夹的属主及权限.
作者: zhaodasong 发布时间: 2011-03-04
作者: taojie2000 发布时间: 2011-03-04
作者: 是我别封号 发布时间: 2011-03-04
`--no-dereference'
Copy symbolic links as symbolic links rather than copying the
files that they point to.
-P不是楼主的那个意思吧
作者: chenyx 发布时间: 2011-03-04
-P不是楼主的那个意思吧
chenyx 发表于 2011-03-04 16:49
- -p same as --preserve=mode,ownership,timestamps
-
- --preserve[=ATTR_LIST]
- preserve the specified attributes (default: mode,ownership,timestamps), if possible additional attributes: context, links, all
作者: 是我别封号 发布时间: 2011-03-04
作者: chenyx 发布时间: 2011-03-04
作者: wang509020 发布时间: 2011-03-04
a复制进去 继承b的属主和权限 你那个还不能实现
作者: taojie2000 发布时间: 2011-03-04