复制其他文件的权限做为自己的权限

chmod --reference=targe-filename myname

原文地址:https://www.cnblogs.com/lqynkdcwy/p/9383397.html