fopen() fails to create a file on linux

后端 未结 3 2156
终归单人心
终归单人心 2021-02-09 00:47

I\'m trying to create a file through fopen() as below :



        
3条回答
  •  醉酒成梦
    2021-02-09 01:26

    Change the permission of the folder(in which you are trying to create) to all permission

    sudo chmod 777 
    

提交回复
热议问题