6
運行下面的根CHOWN無效的用戶羣
chown -R www-data:jsmithstats/
chown: invalid group: `www-data:jsmith'
我確信,JSMITH是在/ etc /組,我也跑這個作爲檢查:
groups jsmith
jsmith: users sudo www-data
這是在Ubuntu
運行下面的根CHOWN無效的用戶羣
chown -R www-data:jsmithstats/
chown: invalid group: `www-data:jsmith'
我確信,JSMITH是在/ etc /組,我也跑這個作爲檢查:
groups jsmith
jsmith: users sudo www-data
這是在Ubuntu
groups
列出了用戶所屬的組,而不是如果組存在。如果jsmith
組存在,它將位於/ etc/groups中。我的猜測是你可能想要的:
chown -R jsmith:www-data stats/
這不是一個編程問題,它是堆棧溢出的主題。 – meagar 2012-08-15 05:47:29
我的不好,有一個網站,你可以推薦類似堆棧溢出? – user1082428 2012-08-15 05:49:24
http://superuser.com/ – meagar 2012-08-15 05:50:02