This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
How can i remove a character special file
- From: Shameem Ahamed <shameem dot ahamed at yahoo dot com>
- To: libc-help-help at sourceware dot org, libc-help at sourceware dot org
- Date: Wed, 2 Sep 2009 10:28:46 +0530 (IST)
- Subject: How can i remove a character special file
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