We've had basically no issues with an older samba 3.4 installation working with Win 7, but suddenly this morning, "homes" shares are acting strange. I can create new folders, I can create new documents. However, any attempt to rename the newly created file gives me access denied problems. I can edit and save the file if it's text, from notepad, but Word and Excel documents fail to save with access denied. GVIM has no problems creating backup files, Word creates tmp files ok. Other, non-home shares are working as expected. I did restart samba, reboot the server, restart the win 7 clients, no change. This has worked for more than 2 years. Suggestions? Thanks! -- Don Krause
On Thu, Apr 11, 2013 at 10:44:11AM -0700, Don Krause wrote:> We've had basically no issues with an older samba 3.4 installation working with Win 7, but suddenly this morning, "homes" shares are acting strange. > > I can create new folders, I can create new documents. However, any attempt to rename the newly created file gives me access denied problems. > > I can edit and save the file if it's text, from notepad, but Word and Excel documents fail to save with access denied. GVIM has no problems creating > backup files, Word creates tmp files ok. > > Other, non-home shares are working as expected. > > I did restart samba, reboot the server, restart the win 7 clients, no change. This has worked for more than 2 years. Suggestions?What changed ? Something did :-).
On Apr 11, 2013, at 12:08 PM, Jeremy Allison wrote:> On Thu, Apr 11, 2013 at 12:01:02PM -0700, Don Krause wrote: >> >> >> [homes] >> admin users = %S > > Having admins users = %S seems strange. Is this what you want ? > > admin users (S) > > This is a list of users who will be granted administrative privileges on the share. This means that they will do all > file operations as the super-user (root). > > You should use this option very carefully, as any user in this list will be able to do anything they like on the > share, irrespective of file permissions. > > > Jeremy. >We had a similar problem when we migrated to Win 7 back in 2010. At that time, shares from [homes] were viewable, but unwritable with "valid users = %S" so we switched to "admin users = %S" and all was well. We only have this on the [homes] shares. And this is also the affected users u*ix home, they can do what ever they want anyway, so it seemed a reasonable risk. Thanks! -- Don Krause