Sharing Your Files Without Sharing All of Your Files
I keep my music backed up on a linux computer running an Apache server. My roommates and a few friends have logins to that server, so that they can download my music onto their computers if they wish. But I have purchased some of my music through iTunes, and because I can only have that music authorized on a handful of computers. So while I do want to back it up, I do not want to share it with anyone.
My solution has been to backup all my music onto the backup/share server, but then change permissions to deny access to those files I do not want to share. I accomplish this by logging onto the linux server through a terminal and issuing the following command:
find /home/share/music/ -name '*.m4p' -exec chmod -v 700 '{}' \;This command finds all files in directory /home/share/music on the backup server that have the file extension "m4p" (the iTunes protected files). Then it passes all these files to chmod, which changes their permissions to 700 (I can do anything I want with them, but nobody else can do anything with them).
