Creating Folders\Files from a Mac on a Windows File Server

We have a few macs in our environment that use a windows file server and when they create a new folder they are unable to delete it or rename it until they either do a "Get Info" or go into the folder and back out again. It's like the rights don't take affect until they do that.
I have checked the rights to it right after they create and before they do anything with it and it's always good.
The macs are running OSX 10.6 and the windows server is 2008R2 DataCenter. They connect via SMB.
Has anyone seen this before or know why this would happen?
LVL 3
WinsoupAsked:
Who is Participating?
 
WinsoupConnect With a Mentor Author Commented:
Any other ideas on this?
I can sign into the mac as a local admin then it works fine when creating folders on a network share. Is there a file on the mac that I can give rights to since it doesn't appear to be server related? I say that because a local admin doesn't have rights to the server and is obviously not a domain user, so why it works with a local admin user is beyond me.
0
 
bbaoIT ConsultantCommented:
Does this problem apply to ALL Macs?

Did the Macs work well before or just had the same issue from very beginning with the W2K8 servers?

Have you ever tried to access other Windows servers (especially the earlier versions) from the same Macs? The same problem or no problem at all?
0
 
WinsoupAuthor Commented:
Yes it's happening on all the macs we have. Unfortunately I just heard about this issue but my guess is that it's been happening from the beginning because they have called a couple times and asked us to delete folders for them. Didn't think anything of it at the time.
I don't have anything older than 2008 to connect to but I will have them try to connect to a different file server and try it. I will report back what happens.
 
We used to have an apple server but it was nothing but problems so we converted them all over to use windows servers a couple years ago. It's been working great so far except for this one small quirk.
0
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

 
WinsoupAuthor Commented:
They are able to connect to a different file server and create/delete/edit folders with no issues. I'll see if I can find any differences between the two.
0
 
serialbandCommented:
Are you running dfs?
0
 
WinsoupAuthor Commented:
I do run DFS but not for the file servers that the macs use. They just connect directly using smb:\\servername\path
0
 
Aaron TomoskySD-WAN SimplifiedCommented:
I believe it's because the MAC tries to make a "new folder" and then rename it. Have them make the folder on their desktop and then drag it over to the network share. This is fixed in newer osx versions.
0
 
WinsoupAuthor Commented:
Creating it on the desktop and dragging it to the share worked fine.
Is there an update or anything that addresses this or will we just have to upgrade OS's to fix it?
0
 
Peter LoobuyckCommented:
You need to check the acl's on the server. You can write, but not modify from what you're telling.
0
 
WinsoupAuthor Commented:
They have full access to it. They can modify too, but only after doing one of the above mentioned tasks. Either Get Info or go just go into the folder and exit out again.
0
 
serialbandCommented:
I only asked about dfs because I've seen this behavior frequently.  It partially has to do with the delayed ack.  The default on Mavericks is set to 3 and that seems to cause problems when connecting to windows.

http://mascote.me/blog/2013/02/12/fix-slow-transfer-between-mac-os-x-and-samba/

sudo sysctl -w net.inet.tcp.delayed_ack=0

To make it permanent and survive a reboot:
echo 'net.inet.tcp.delayed_ack=0' >> /private/etc/sysctl.conf


Setting it lower has reduced the problems but I still have to visit the server and reset the permissions occasionally on dfs.  Even when the permissions are set correctly, I change the owner, then change it back and everything works again from OSX.
0
 
WinsoupAuthor Commented:
I'll give that a try when I get back on Monday and keep you posted. Thanks for the suggestion.
0
 
WinsoupAuthor Commented:
Unfortunately that's not doing anything either.
It seems to be intermittent as well. Some of them are not having this issue right now but some are.
Any other ideas? I'm all out of ideas at this point.
0
 
WinsoupAuthor Commented:
If I sign into the computer as the local admin but still connect to the share as the user that's having the issue then it works fine. But once I sign in to the computer as the user that's having the issue, then it doesn't work again.
Does that tell you anything?
0
 
serialbandCommented:
I've got nothing else at the moment.  The latest apple patch that came out today addressed some samba issues.  Maybe they've fixed some of the problems.
0
 
serialbandCommented:
If you're running Mavericks, try cifs:\\servername\path instead of  smb:\\servername\path, to force it to use SMB1.  SMB2 seems to have issues.
0
 
WinsoupAuthor Commented:
We're just going to deal with it until we upgrade OS's to see if that takes care of it.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.