Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
Your last paragraph is broken. Also, does the chmod -R command not work for you? – slhck Feb 13 '12 at 0:20
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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .