On Fri, 2006-11-17 at 17:49 +1100, Adam Kennedy wrote: > For some reason, saving from the Windows box seems to reset the > permissions of the files. And in this particular case, that also means > 644 (and thus not world-readable so nobody can do the CGI). > > Now, I assume that Windows is doing something funky and delete/write'ing > the file instead of overwriting the file. > > Could someone with more samba-fu than I explain if there's a way to make > these file writes behave themselves and maintain whatever permissions > they currently have?
I doubt you'll be able to get samba to remember the mode and apply the same one when a file is deleted/recreated. But using the "create mask" parameter in your smb.conf should let you set a default permissions mask so that files will be created world-readable. -- Pete -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
