This command:
rm -f testfile && touch testfile && chown 0 testfile
is failing in Cygwin with error:
在Cygwin失败并出现错误:
chown: changing ownership of 'testfile': Invalid argument
chown:更改'testfile'的所有权:无效的参数
Why?
1 个解决方案
#1
2
You cannot chown
with root
(0) account simply because there is no such thing in Cygwin.
你不能仅仅因为在Cygwin中没有这样的东西而使用root(0)帐户。
#1
2
You cannot chown
with root
(0) account simply because there is no such thing in Cygwin.
你不能仅仅因为在Cygwin中没有这样的东西而使用root(0)帐户。