当前位置:网站首页>Pit record of Chmod 2 options in deepin

Pit record of Chmod 2 options in deepin

2022-07-05 07:28:00 work-harder

background :

1. stay deepin Practice in   chmod xxxx myfile when , xxxx You need to change the owner at the same time (u) And other user groups . 

2. It was used chmod u+x o-w myfile, You don't succeed ;

3. It was used chmod u+x, o-w myfile, It didn't work ( The pit is here );

 

solve :

Go out above   “3. ....” in o-w The space in front of it .:-)

In the above “3. It was used chmod u+x, o-w myfile in ,o-w front , After comma , There is a space . It makes the above command impossible .

difference :

chmod u+x, o-w myfile (x)

chmod u+x,o-w myfile (v)

原网站

版权声明
本文为[work-harder]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202140555475713.html