How can i remove a character special file

Shameem Ahamed shameem.ahamed@yahoo.com
Wed Sep 2 04:58:00 GMT 2009


Hi Friends,

While doing some work, unknowingly i have created a character special file.


ls -l test.pm
c--xrw---- 8236 1629495357 1819488288 32, 103 May 24  2023 test.pm


I am not able to delete this file using any method. I used the command unlink, system call unlink, and rm 

But it is giving me, operation not permitted error. I tried to reset the attributes, permission, ownership and still getting the same error.

Please help me.

Regards,
Shameem



      



More information about the Libc-help mailing list