Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

eah2119

macrumors regular
Original poster
Aug 20, 2010
111
0
I have a folder located in Users>Shared> called iTunes Music for all users of my computer to access for my iTunes music. The permissions are set to read and write for system, wheel, and everyone. It works as it should, but for one exception. When I add or buy something on iTunes the file is put inside this folder, but the permissions are set differently than the folder. Instead the permissions are as follows:
Evan (Me): read and write
wheel: read only
everyone: read only

The downside to this, is that when a different user logs on and they add the new song(s) to iTunes they can't edit the songs information like artwork and lyrics. I'm not even sure they can rate the song or delete it. I know I can choose "apply to enclosed items" on the sharing and permissions of the iTunes Music folder, but it's kind of a chore.

My question is: Can I set my computer to automatically apply to enclosed items when I log on or even every time I edit the contents of the folder? THANKS!
 
You need to change the umask. Apple covers this on their support page along with the pros and cons.
 
I'm new to this "unmask" thing. I read a couple articles on the apple website, but I didn't understand it. Can somebody post a link or explain it to me? Also, I'm not knowledgable with Terminal. I would need someone to dictate to me the exact command.
 
The umask determines the default permissions applied to new files and folders. So as the article said, the umask is subtracted from default files and folder permissions.

What you want is effectively 002, resulting in read & write for the owner and group and just read for everyone else.

In addition, you would want to use staff, not wheel as no created users are in the wheel group by default. With the way you have it setup, the wheel permissions are useless as the everyone permissions is what is allowing the other users to change files.
 
Do I have to use terminal? I chose get info for my iTunes Media Folder and tried to add staff, but that option wasn't listed.
 
Ok. So I skipped Terminal and went with this: http://www.macchampion.com/arbysoft/batchmod_163.zip

I believe it is an alternative solution to what I want to do, but I don't know.....

I made a backup of my iTunes Music folder on my desktop (it was 20 GB!!) and I used batchmod. I checked all R, W, and X, put root as owner and staff as group. Is this right? I copied a doc from my documents folder to my iTunes Music folder, but the permissions are the same from the source. I want all files and folders I put into the folder to have the same permissions as I have set above when they go in there.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.