Linux, Why can't I write even though I have group permissions?

前端 未结 6 1574
醉酒成梦
醉酒成梦 2021-01-30 12:30

I want to create a file in a directory owned by the staff group which I am a member of. Why can I not do this?

bmccann@bmccann-htpc:~$ ls -l /usr/local/lib/R/
t         


        
6条回答
  •  甜味超标
    2021-01-30 12:41

    Check if your parent directory have permission before you add content to that file

    sudo chmod -R 777 /yourDir/file.log
    

提交回复
热议问题