July 25, 200718 yr My files are not being created with world read access. For my rsync backup solution to work they need this. I've currently been running chmod -R +r manually, but would like to see how to get the files to be created this way automatically. How do I do this? thanks,
July 26, 200718 yr if you're copying files to your unRaid server initially, you need to change the permissions in the /etc/samba/smb.conf file. From memory they're 0711, try changing them to 0744 altho changes to the smb.conf are lost each time you reboot, so you will need to change the smb.conf each time, perhaps storing the config file on a disk somewhere (/mnt/disk1/configs ?), then in the go script put something like /etc/rc.d/rc.samba stop cp /mnt/disk1/configs/smb.conf /etc/samba/smb.conf /etc/rc.d/rc.samba start
July 26, 200718 yr Author I see inside smb.conf # emulate M$ file attributes unix extensions = No create mask = 0711 directory mask = 0711 map archive = Yes map system = Yes map hidden = Yes when it says mask is that mask as in a umask? It does not appear so as a umask would be 002, not 711. This instead appears to be the persmission directly as 711 would give owner all, execute for group and other. I'll try 744. thanks,
Archived
This topic is now archived and is closed to further replies.