This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



      


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]