Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question
1  
Your last paragraph is broken. Also, does the chmod -R command not work for you? –  slhck Feb 13 '12 at 0:20
add comment

1 Answer

up vote 4 down vote accepted

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 ;)

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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