Solved

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

Posted on 2014-02-17
17
397 Views
Last Modified: 2014-03-31
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?
0
Comment
Question by:Winsoup
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
17 Comments
 
LVL 37

Expert Comment

by:bbao
ID: 39867040
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
 
LVL 3

Author Comment

by:Winsoup
ID: 39867420
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
 
LVL 3

Author Comment

by:Winsoup
ID: 39867519
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
What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

 
LVL 30

Expert Comment

by:serialband
ID: 39868049
Are you running dfs?
0
 
LVL 3

Author Comment

by:Winsoup
ID: 39868067
I do run DFS but not for the file servers that the macs use. They just connect directly using smb:\\servername\path
0
 
LVL 39

Expert Comment

by:Aaron Tomosky
ID: 39868086
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
 
LVL 3

Author Comment

by:Winsoup
ID: 39868346
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
 
LVL 7

Expert Comment

by:Peter Loobuyck
ID: 39870919
You need to check the acl's on the server. You can write, but not modify from what you're telling.
0
 
LVL 3

Author Comment

by:Winsoup
ID: 39871000
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
 
LVL 30

Expert Comment

by:serialband
ID: 39875359
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
 
LVL 3

Author Comment

by:Winsoup
ID: 39875549
I'll give that a try when I get back on Monday and keep you posted. Thanks for the suggestion.
0
 
LVL 3

Author Comment

by:Winsoup
ID: 39886854
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
 
LVL 3

Author Comment

by:Winsoup
ID: 39887002
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
 
LVL 30

Expert Comment

by:serialband
ID: 39887129
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
 
LVL 3

Accepted Solution

by:
Winsoup earned 0 total points
ID: 39900519
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
 
LVL 30

Expert Comment

by:serialband
ID: 39956884
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
 
LVL 3

Author Closing Comment

by:Winsoup
ID: 39966093
We're just going to deal with it until we upgrade OS's to see if that takes care of it.
0

Featured Post

Increase Agility with Enabled Toolchains

Connect your existing build, deployment, management, monitoring, and collaboration platforms. From Puppet to Chef, HipChat to Slack, ServiceNow to JIRA, Splunk to New Relic and beyond, hand off data between systems to engage the right people.

Connect with xMatters.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to install and use the NTBackup utility that comes with Windows Server.
Article by: Justin
In light of the WannaCry ransomware attack that affected millions of Windows machines, you might wonder if your Mac needs protecting. Yes, it does and here is how to do it.
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question