Skip to content

bash: /dev/null: Permission denied


rm -f /dev/null
mknod -m 666 /dev/null c 1 3

Posted in linux 维护优化.

Tagged with .

3 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. 销声匿迹、linux says

    这样的话登录的时候会提示/dev/null没有权限吧,也可以直接chmod 666 /dev/null

  2. C1G says


Continuing the Discussion

  1. the bash: / dev / null: Permission denied | Information News linked to this post on 2012/06/03

    […] C1G arsenal Be Sociable, Share! Tweet Shop Amazon – Get Ready for Summer – Everything You Need This entry was posted in ChinaSite and tagged bash, denied, Null, permission by beck917. Bookmark the permalink. […]

Some HTML is OK

or, reply to this post via trackback.