更新时间:2023-11-11 23:48:46
不确定此处发生了什么,但我相信它与/tmp文件夹权限有关.我以为/tmp文件夹已损坏,所以我四处寻找有关删除该文件夹并还原该文件夹的信息(我不确定该文件夹是否对创建方式特别重要).我发现此来源建议您可以简单地制作/tmp文件夹,就像其他文件夹,然后在新创建的文件夹上执行chmod 1777
.
Not sure what happened here, but I believe it had something to do with the /tmp folder permissions. I thought my /tmp folder was corrupted so I looked around about deleteing that folder and restoring it (I wasn't sure if this folder was especially significant about the way it was created). I found this source that suggested you can simply make the /tmp folder, just as you would any other folder, and then do a chmod 1777
on the newly created folder.
因此,我没有删除当前的/tmp,而是运行了chmod命令,一切似乎都可以正常工作.
So, instead of deleting my current /tmp, I ran this chmod command and everything appeared to work.
对我来说奇怪的是,我以前做过chmod 777
,导致文件夹无法工作.奇怪...
What is strange to me is that I had previously done a chmod 777
and that caused the folder to not work. Weird...