this is not that simple as it sound, so please read carefully before answer (I really tried before writing this).
So, the problem is the following. I have an external hard drive, NTFS of 2TB. It is meant to be only for movies and music. So, I have a Music folder that have several other folders and subfolders (Artist, disc1, disc2... in any possible combination that you can imagine... -im not an organized guy). Inside them there are music files, mainly mp3, but also .flac, .ogg and .cue files.
For some reason (I REALLY DON'T GET WHY) some files have restricted permissions on the writing, so I cannot edit the mp3-tag info using software like rhythmbox or even some things more specific like easytag. Whatever, the point is not the software, but the permission of the files.
Since my idea is to edit the tag-metadata-info from rhythmbox and I just can't because the field is blocked -gray colored, I can't write on it, for example, to change the artist names-, I was wondering the ways to change the file permissions recursively. And we arrived to the point.
I'm needing some help to make a script or a "one liner" to:
1) identify the files and folders that have permissions different from 777.
2) a) on that cases, enter into each folder-subfolder, b) change the folder permissions to "777" -meaning FULL ACCESS, are mp3 guys, i don't care about security there- c) change every file permission on each subfolder to "777" full access.
I have a LOT of music, so no way to do it manually. Any help, clue, or comment will be really appreacited, Thanks in advance!!!