Solved

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

Posted on 2014-02-17
17
394 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
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
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 
LVL 29

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 29

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 29

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 29

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

The error "There was an error performing the update" occurred on a Mac OS X client workstation running  Symantec AntiVirus for Mac (http://www.symantec.com/business/products/purchasing.jsp?pcid=pcat_security&pvid=825_1) - the Enterprise product vers…
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

856 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