I have a main music folder and within that folder are the various albums that I have and in those albums are the various song files.

The permissions on these are set incorrectly on my FreeNAS server and I'm wondering how to change them to 0777 so I can change the tags on the songs.

  • 1
    Your last paragraph is broken. Also, does the chmod -R command not work for you? – slhck Feb 13 '12 at 0:20

A simple mix of find and chmod will do the trick.

From an ssh window to your FreeNAS (or directly on console) and accepting that "/mnt/storage/music" is the real unix path of your "x:/music":

find /mnt/storage/music -type f -exec chmod 0777 {} \;

But in fact a 0666 would be enough, as simple files do not really need the "execution" permission bit ;)

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.