SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I opened kaudiocreator as root and started ripping, intending to copy the ripped files back to my home directory later. Kde crashed (astounding in itself) and I am left with a strange 15 MB file 'Bach' which was the author name that I gave to the tracks. It says it is an octet stream. I cant delete the file. The message it gives is :
remove write protected weird file?
And on saying yes, it says that the operation is not permitted.
Any answers?
Using Slackware 10
(I have to find a way of granting permissions to open audio cds as user)
If you can remove everything else from there, it's not a permission problem (at least not with the directory). Directories have write access too, just as files (+w) and if the file in the directory has different permissions from the directory it resides in, the directory's permissions apply. That's what I meant by saying that directory's permissions are stronger. So to remove a file from the directory, you will have to have write access not only to the file you are trying to remove, but also to the directory where it is located in.
It's strange that you can't even remove it logged in as root, I'm out of imagination here...
I still dont get why it cant list permissions for the file. It says ?-----x which means it can only execute; that too not owner or user, its for others.
Also the first questionmark in the permissionlist is strange... Who are the owner and group of the file?
--Edit--
Oh, the owner was already there. You could try (as root) taking the ownership of the file (chown root:root bach) and then giving 777 permissions to it.
I have found a forum with the same problem; have to read it completely but (I may be wrong here) they say its some kind of hack, which i my case is wuled out because its only got to do with the ripping, and I guess because of the crash the system hasnt been able to determine the file type or permissions or anything about it. For one thing I just cant imagine someone trying to hack my computer, and surely not with the innocuous music thingy.
I cant figure out the mount thing now. Plus I just get the feeling it wont work. Is there a way to delete the inode or something ? I think it should because I once recovered a deleted file that way.
Edit:
I sorted it out. Fsck checked the file systems; and I got the following messages.
Inode 713471 (???) has a bad mode (01).
It fscked again and gave
Entry 'Bach' in /root/ogg (966045) has deleted/unused inode 713471. Clear<y>? yes
So it was a corrupt file of some sort, which did not show up because of it being ext3, which does not fsck every time an improper shut down occurs.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.