Solved

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

Posted on 2014-02-17
17
393 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 28

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 38

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 28

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 28

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 28

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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Do you come here a lot? Are you lazy like me and don't want to go through the "trouble" of having to click your Dock's Safari icon and then having to click your Experts Exchange Favorites bookmark to get here? Well then this article is for you.
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

776 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