One of my apps creates and modifies a file called metedata.abs, this file exists in a folder that contains an audiobook file. The library folder contains many 1000s of subfolders each containing an audiobook file (usually .m4b) and a metadata.abs.
The App is crashing whenever it tries to change the metadata.abs file. I have discovered this related to the Owner and if set the owner to Nobody & NoGroup all is good.
My problem is that i simply want to change the owner/ ownergroup on every instance of metadata.abs, but dont want to do this manually for 1000's of files
Running the following on the parent folder seemed like it should do what i wanted but it only changed the instance of metadata.abs at the parent folder not those found in any of the subfolders
chown -R nobody:nogroup metadata.abs
The App is crashing whenever it tries to change the metadata.abs file. I have discovered this related to the Owner and if set the owner to Nobody & NoGroup all is good.
My problem is that i simply want to change the owner/ ownergroup on every instance of metadata.abs, but dont want to do this manually for 1000's of files
Running the following on the parent folder seemed like it should do what i wanted but it only changed the instance of metadata.abs at the parent folder not those found in any of the subfolders
chown -R nobody:nogroup metadata.abs