开发者

Unix cp command not transferring 777 permission?

I've been using cp -r to duplicate some things in my file system and something bizarre keeps happeni开发者_StackOverflow社区ng...certain directories that are permissioned as 777 have more secure permissions in the target directories I am copying to.

Is this normal behavior?


cp -a might resolve your situation, you need to tell cp to preserve the permissions so that it doesn't inherit them from your umask.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜