LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-02-2010, 06:47 AM   #1
hwy1
LQ Newbie
 
Registered: Sep 2010
Location: Pennsylvania
Distribution: CentOS 5.5
Posts: 2

Rep: Reputation: 0
Cannot remove an audio file w/symbolic link to the audio binary itself.


It appears that a write protected socket was established as a symbolic link between an audio file and the binary of the audio itself.
We are unable to remove the files and the holding folder. Attempted all possible combination of RM that I could think of and then graduated to shred. We are unable to do so:

?--xrwS--T 22565 2866829349 1478964854 1478833777 2016-11-11 03:09 5DVJU.al2
-????????? ? ? ? ? ? 5DVTK.al2
-????????? ? ? ? ? ? 5DVTW.al2
l-wsr---wT 22567 2868926503 1478994664 1478994659 2016-11-12 23:51 5DVUR.al2 -> ?????vT?Q?R?S?W?Õ??U?VpQyVP?O???i??T?V?W?UqT?W?T?T?ÔÓÓ×?T??U?U???????Q?]eS?W?ÕÑÒÐU?Q?QRWpT[W[V?PbV?T?W?W?UgTIT?U?ÔÖÖ×?????????????W?Q?W{???P??U?Q?P?W?????U[VxW|U[?E??U??????mWdT\ÖÒ [...] U?????????W?W?QrTi??????WoPx??????????T?Q?P?Q?W?TAVy]c_kR??????h?a?qT?W?U?????ÕT?V?V?W?T?T_TeT?Q?S?V?U??g??ÒÐÖÕ?U?Ö????W`Q?Q?V?W???U?QeW?????×ÖU?]?]?V???????U?TWTXUd?????????v??Ð Ð×U?T?T?U?TZTgT?T?W??????iUw??Ö××Ö??U??t????T?Uu??U?W?U???U??
-????????? ? ? ? ? ? 5DVV9.al2
-????????? ? ? ? ? ? 5DVXA.al2
...
-????????? ? ? ? ? ? 5DWZ3.al2
srwS-wSr-t 22563 913201187 1478872987 1478741910 2016-11-10 01:38 5DX0B.al2
-????????? ? ? ? ? ? 5DX0G.al2
...
-????????? ? ? ? ? ? 5DXCT.al2

# sudo rm -rf *
rm: cannot remove `5DVJU.al2': Operation not permitted
rm: cannot remove `5DVUR.al2': Operation not permitted
rm: cannot remove `5DX0B.al2': Operation not permitted
# chmod 777 *
chmod: changing permissions of `5DVJU.al2': Operation not permitted
chmod: cannot access `5DVTK.al2': No such file or directory
chmod: cannot access `5DVTW.al2': No such file or directory
chmod: cannot access `5DVUR.al2': File name too long
chmod: cannot access `5DVV9.al2': No such file or directory
...
chmod: changing permissions of `5DX0B.al2': Operation not permitted
...
chmod: cannot access `5DXCT.al2': No such file or directory
# rmdir -v --ignore-fail-on-non-empty T
rmdir: removing directory, T
# cd T
# ls -al
ls: cannot access 5DWXB.al2: No such file or directory
# cd ..
# rm -r -f -v T
rm: cannot remove `T/5DX0B.al2': No such device or address
rm: cannot remove `T/5DVJU.al2': Operation not permitted
rm: cannot remove `T/5DVUR.al2': Too many levels of symbolic links
 
Old 11-02-2010, 08:30 AM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
I would boot a live Linux cd, perform an fsck on the partition, mount it, and try to delete any instances of this that remain.
 
Old 11-02-2010, 08:35 AM   #3
module0000
Member
 
Registered: Feb 2010
Location: USA
Distribution: RHEL
Posts: 36

Rep: Reputation: 15
After the fsck, make sure the immutable flag is not set on those files. Check with `lsattr`.
 
Old 11-10-2010, 05:51 AM   #4
hwy1
LQ Newbie
 
Registered: Sep 2010
Location: Pennsylvania
Distribution: CentOS 5.5
Posts: 2

Original Poster
Rep: Reputation: 0
I appreciate the information, unfortunately before anything else was tried someone deleted the data instead of fixing it, causing a loss of important data. The issue has not been completely resolved and will perhaps become an ongoing issue... more later.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
AC'97 Conexant audio (aka, AC-Link Audio) (Gateway 7510GX) Vexamus Linux - Hardware 25 10-07-2009 09:15 PM
Problems with audio link between BT878 tuner and HDA audio in 2.6.23 TheOneKEA Linux - Hardware 1 12-20-2007 12:15 AM
How to remove a symbolic link without deleting the file rhbegin Fedora 4 10-10-2007 10:38 AM
i need audio driver for conexant ac-link audio in compaq presario m2015ap red hat. subratapatel Linux - Hardware 1 08-12-2006 12:46 AM
Can't remove symbolic link kimchee411 Linux - Newbie 1 10-06-2004 02:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration