Bullitdodger;530656 Wrote: > This worked fine, but now I can't add new music?
You mean new music is not being picked up by a scan? > > Should this be done every time I wish to add music? In an ideal world, no, that would be a pain in the butt, wouldn't it. Unix has something called a 'umask' which will help you. Very very basic Unix permissions are just numbers. I'll cover the important part here and skip the stuff about 'sticky bits' and such. You have 3 groups of permissions: owner, group and world. Each group has read, write and execute. So you can grant owner and no one else the permissions to write to a file, but allow anyone to read it. That's what chmod does: it changes those permissions, allowing the SBS 'user' to be able to read your files. In this case, though, you want to change the defaults, which may be too strict for your purposes. Ie, when you add a file, it gets a default setting which only gives you the access to read the file and prohibits SBS from doing it. This is done with 'umask's. In reality, for no sane reason, the default is to be wide open readable/writeable to everyone. That's of course bad. A umask strips permissions on that default. So a umask of '022' leaves the first set of permissions (owner) alone since it has a zero. The 2's strip the write permission away from the group and world, which is what you want. So... how to force those depends on how you're loading music. If you're using Samba, then there is a setting for that. If you're using a shell (aka command line) you can set it in the shell startup script (which script? depends on which shell!). If you're using a GUI it may be a bit trickier, depending which GUI and what method you're using. So more information on how you're moving files would help. (If you're using a command line, just type 'umask 022' before copying, but adding it to the shell startup would mean you'd have less to do long run.) -- snarlydwarf ------------------------------------------------------------------------ snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179 View this thread: http://forums.slimdevices.com/showthread.php?t=75662 _______________________________________________ discuss mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/discuss
