MS Office file locking on SMB share

I have both Windows and Mac clients accessing the same SMB share. There are file locking issues with Microsoft Office files, eg Excel.
Scenario 1:
1) PC User connects to the share and opens file test.xls. The PC user gets read/write access.
2) Mac user connects to the share and opens file test.xls. The file opens read-only. This is the desired behavior.
Scenario 2 (the problem):
1) Mac user connects to the share and opens file test.xls. The Mac user gets read/write access.
2) PC user connects to the share and tries to access file test.xls. Access fails with the following error: "Cannot access 'test.xls'".
A few details:
The share is on a NAS (network-attached-storage) device, although I can reproduce the same behavior on a windows server or Samba server as well.
The Macs are OSX 10.4 or 10.3 with Office 2004
The PCs are XP SP2 with Office XP Pro
My storage vendor says this is a 'Mac issue'. Any thoughts?
Thanks!
Various   Mac OS X (10.4.6)  

There are plenty of free ways to view at MS Office, but I don't think there are any to let you edit it. Most free apps are free for a reason (luring people in for purchases/upgrades, or supporting a commercial company as a portal, or as public services) - a dedicated professional app such as this is going to cost you less than 10 dollars.

Similar Messages

  • File Locks and SMB shares with ML

    I've been doing a lot of research on SMB and the way it locks files during access. I've made a lot of ground work in my research but could use a little further assistance from this support community.
    The symptom is simple to explain: Users are occasionally being prompt for a username and password when attempting to rename or move files and folders.
    After doing some research on this topic, I have discovered that there is a direct relationship to files being open on the server at the time the user is attempting to rename or move the folder. The following thread, albiet old, appears to have nailed the problem on the head http://arstechnica.com/civis/viewtopic.php?p=24558131. In particular, there appears to be file locking happening when preview is turned on through the finder. I've had all users remove preview from their Macs and this appears to have helped reduce the occurances of the password prompt, but has not completly solved the problem. This is also a work around, not a fix.
    I've been using a series of command to help me trace the problem including openfile.exe on the Windows 2012 Storage Server (sharing the files via smb only) to discover who has what files open on the server, and the lsof command on the client workstations to discover what process has the file open. So far, the finder is consistently the only thing with the file open... even with the finder preview turned off. I've also found that the "open file" is simply the fact that the offending users Mac has a finder window with just the folder open (none of the files within the folder or previews open).
    Is the real solution to simply close all finder windows when you're done working in a folder, or is there more that anyone can think of to help me find out exactly what is holding the file lock? Is this a known bug in the SMB implementation of ML? Can we expect to see a fix with Mavericks which will now be using SMB2.0?
    Any help or information anyone can provide would be greatly appreciated. I have a bunch of documentation on this issue and would be happy to share. Please let me know if anyone needs any additional details.

    Hello all - many apologies for my delay in posting here; and Squiggle, thanks for the second-hand nudge. As Stephen said we have been testing a solution concerning a setting in Finder's view options for the last few months, and these seem to have solved the issue in hand.
    Essentially, we found that Finder was holding files open whenever the 'Show Icon Preview' option was set, on any of the four folder views, on any client machine accessing the share. Below is a piece of documentation I wrote up for our Service desk explaining how to diagnose and manually fix this issue on the client:
            - In Finder, open any folder
            - Click on the cog icon and select 'show view options.' Check that, in the dialogue box which appears, the 'Show icon preview' box is not checked. Click the other three Finder views and check it's turned off here too.
            - Click 'Use as Defaults'
    In order to make this change remotely on multiple machines, you will need to change the clients' com.apple.plist files, and set every instance of the <showIconPreview> key to <False>. This is nested within several key / dictionary pairs in com.apple.finder.plist, once under <standardViewOptions> and thrice within <standardViewSettings>. As Stephen has already mentioned, the fact that this key is nestled deep within compound dictionaries seems to render them untouchable by defaults, though I would be very happy to be corrected on this.
    How you push this change out will depend on your management system. We had been using Casper to
    to create a managed preference pertaining to <standardViewOptions> and <standardViewSettings> within com.apple.finder.plist. These contained as values the entire dictionary associated with these keys, with the value for each <showIconPreview> set to false. This was then applied at a User Enforced Level (running every logon after Finder has set up the system defaults).
    As a side note, I have found that certain machines (Such as the 10.8.3 machine I'm working on now) contain a key named <FK_StandardViewSettings>, which I have been unable to ascertain the purpose or origination of. These don't seem to affect the fix, so we've left them alone.
    Irritatingly, Casper has dropped support for custom Managed Preferences in their latest release, so this problem has now resurfaced. I will keep this page updated with any fixes or workarounds I find.
    Hope that helps,
    Josh Smith

  • Can't open Office 2011 files on CIFS/SMB shares.

    I can't open Excel or Word documents if they are opened from a network CIFS/SMB share.  Excel returns something like "could not open because some content is unreadable" and offers to repair the document.  Word just questions if the document is corrupt and errors out too.  If I drag the same document to my desktop, it opens just fine.  Is something broken with SMB?  I'm running the latest Yosemite (10.10) upgraded from Mavericks 10.9.5.  Office 2011 is completely updated too.

    I am having what I think is a intimately related problem, but which is somewhat more aggravated. I have a server set up using FreeNAS 9.3, which is configured as Windows+CIFS (SMB) in order to facilitate for Windows-based computers to join. Permissions are consequently set-up with a Windows client (a MBP running Win7 in Bootcamp). Everything works fine as far as access and file transfer goes, but using any application changes the experience.
    Just to be explicit, my problem is not only related to MS Office files, but also to PDFs and PNGs (I assume it is related to ALL files, but those are the ones I have tested). The problem arises, as for you other, when I try to save from within the application after I have altered the file's content. I get different messages depending on the application, but they all share the problem of not being able to save and that they after showing that error message, change the filename on the server (in the case of Word, it becomes 'Word work file L_2.tmp').
    I have tried connecting to the server using Win7 and changing the same file and that works just as intended. I have also tried setting up a dataset (folder) on the server with only AFP and Mac settings and that works fine, but as Apple shifted to SMB from Mavericks it is not that enticing to set up a server with a dying technology, which is why I insist on getting the Windows/SMB share to work.
    I have also tried the tips provided in this thread:
    http://arstechnica.com/civis/viewtopic.php?f=19&t=1253789
    1. smb://FreeNAS
    2. cifs://FreeNAS (should force SMB1)
    3. smb://FreeNAS:139 (should force connection over Netbios instead of TCP/IP)
    None works.
    I have checked the log files /var/log/samba4/log.smbd and /var/log/messages on the server, but they do not provide any error messages in this respect.
    Based on declure's suggestion, I have copied a new Word file to the server -> disconnected from the server -> reconnected using 'cifs://servername' -> opened the Word file and tried to save it -> same error message ("Word cannot save this document due to a naming or permissions error on the destination volume."). As this works in Win7 it seems as the real problem resides not with the application (or is Office for mac faulty?), but with OSX.
    Any constructive suggestions would be appreciated as I really would want this to work using SMB.

  • Problems copying files to a SMB share.

    Hello,
    Having some odd issues since moving to 10.6. It appears to be a combination of two problems.
    We are in a PC based Active Directory environment. The Mac is bound to the AD and has a Mobile account configured. The problem is with copying files to the network Home folder.
    On attempting to copy a file to the network drive I received a "The operation can't be completed because you don't have permission to access some of the items" error. This only seems to effect some files. I checked the permissions on both the file I was attempting to copy and the destination folder. I had full read/write access to both.
    I attempted to copy the file with the terminal and got an error that I was unable to copy the extended file attributes of the file as I did not have permission.
    Using the xattr command I could see that the file had the com.apple.TextEncoding attribute. I used the xattr -d command to delete the attribute and I was then able to copy the file with the Finder. Another file I tested that I could not copy had the com.apple.FinderInfo attribute. Deleting this attribute also allowed me to copy the file.
    It seems that any file with extended file attributes in 10.6 cannot be copied to our SMB shares. I have tested this on all of our 10.6 Macs with exactly the same result. 10.5 has not had the same problem.
    Now for the second problem. After copying the file as part of the testing I attempted to copy the same file over and replace the existing file and got the error "The Finder can't complete the operation because some data in "" can't be read or written (Error code -36)". I attempted to this a number of times and found that approx 50% of the time it does copy with no error. Checking the Console gives me the following message for the times it does give an error :
    27/10/09 4:03:27 PM /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder[153] Allocator race detected: transaction is not verified for -101/2 - test7.txt
    Any light that can be shone on this issue would be great. This means for us that OS X 10.6 is fundamentally broken and can't be installed on any machines.
    -Justin

    Just posted on the Entourage Help Blog: Workaround for saving Office 2008 files to SMB servers in Snow Leopard
    http://blog.entourage.mvps.org/2009/12/workaroundfor_saving_office_2008_files_to_smb_servers_insn.html
    According to Craig, a poster on the microsoft.public.mac.office newsgroup:
    Changing the owner of the share to NETWORK SERVICE will solve the problem. I have tested this on a test share I set up during troubleshooting and it works! I have told my MS support rep about the workaround and she was going to spread it around. She mentioned that Apple appears to have a fix in the works but not to expect it to be released until February!

  • Finder not showing files in an SMB share

    Ok, I think I know what I need to do, but i'm not sure where to look essentially. I have a user in my office that connects to a share on a PC file server called Community. When looking at the share in finder it seems to be bugged, and it shows like an old cached view of what the share USED to look like. If I open a terminal and do an ls everything shows up like normal. The way I've been able to temporarily unbugg this is by clicking on Go->Go to folder and then telling it to go to \volumes\community\myfolder and then it corrects the view and shows the correct list of folders. But the next time she boots her mac and connects to the share - old view again. Is there a file for finder that is caching this info in her profile that I need to delete somewhere? This seems to be the issue, but I'm not sure where to look for this. Worse comes to worse I suppose I could always give her a clean profile on her mac, but I hate to do that for something so trivial.
    (Just to note here, there's no hidden files or anything - If we go to another PC or Mac everything shows up fine, first try, no problem. It's just this one machine having this issue)

    giving this topic a bump. i've tried the same share via AFP and SMB, both have shown files before, but now only show folders in Finder.
    incidentally, i tried mounting the same share using NFS and it works, all files and folders are shown in Finder.
    in either case, all files and folders show up from Terminal.

  • Windows 2012 Standard File Server Clustering SMB Share Error: Access is denied.

    Hi All,
    My setup consist of 2 nodes clustered with File Server role.  I can successfully failover role to either node with no issues.  But if I try to modify the permissions of any file share on my file server cluster I get the following error: Error
    Occurred while updating an SMB share: Access is denied.  Access is denied.
    Now I played around with the permissions on these shares and noticed that when I add the "everyone" group to these shares with change permissions I can successfully modify the shares with no errors.  If I removed the "everyone" group
    I get the error.  So to tell its like some service or account needs permission to these shares to be able to modify them.  I don't want to keep "everyone" group on these shares.  Can anyone please shed some light on what group, user,
    or service account needs permissions on these shared in order for me to modify these SMB shares without getting Access is denied.  Thanks

    Hi,
    It seems your account don’t have the enough right to modify this clustered folder permission.
    More information:
    Create a Shared Folder in a Clustered File Server
    http://technet.microsoft.com/en-us/library/cc732302.aspx
    Hope this helps.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Windows 7 SP1 client file lock on network share hosted ny WIndows 2012 Server

    Hello
    I have one strange problem after migration from Windows 2003 Server to Windows 2012 Server R2 Standard. 
    All migration tasks went well but two things do not work.
    In Computer Management you have The Opened Files feature and if you open any file that is located on the network share hosted by Windows 2012 R2 form Windows 7 SP1 and then close it
    it remains open in the Opened Files tab (even if you wait an hour).  There is no problem with Windows XP SP3. The issue exist only with Windows 7.
    The session view of sessions to the file server do not work. If I try to open it I get the message that the application is not responding. 
    Can someone help me with that ?
    About the environment:
    It is one server Domain migrated form 2003 to 2012R2.
    The domain and forest level was raised to 2012 R2.
    I have made clean install of Windows 2012 R2 and then migrated AD. 
    Best Regards
    Sebastian Sala

    Hi Sebastian,
    >>There is no problem with Windows XP SP3. The issue exist only with Windows 7.
    T>>he session view of sessions to the file server do not work. If I try to open it I get the message that the application is not responding. 
    Based on the description, please check event logs in Event Viewer to see if there were some related events logged. Besides, does this phenomenon happen all Windows 7 clients? We can try to restart the client to see if it helps.
    Best regards,
    Frank Shen
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Office files slow when opening from a Network Share

    Hi!
    So, we have a client who moved from having regular Office installations to Office 365 for Mid Size business and reinstalled the Office that comes along with Office 365. Ever since we did
    that, there is a delay in opening any office files from a network share. Opening up a Word or Excel document takes up a lot longer than it did before. We have another client with the exact same issue who have Office 2013, so I think its mostly something to
    do with office 2013. This problem has been going on for a month, and I have tried everything I can. I have gone through most posts on technet and the internets. Tried disabling AV, Office File Validation, added the network share to trusted locations, removed
    add-ins. Nothing works! All other files opens up quickly, pdf, jpg. We can open larger jpg or pdf files faster than smaller office documents. This is a significant problem with our clients as they work in recruitment and open up resumes all day from the network
    share and it takes forever to open. 
    Any advice or help is appreciated!
    Thanks!
    Shaneez

    Hello,
    I am trying to involve someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience.
    Thank you for your understanding and support.
    Steve Fan
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click
    here

  • Unable to access files containing special characters (accents) on a SMB share

    I can't access some files on a SMB share.
    Those files have one thing in common, that is they contain accented characters (àèéìòù).
    I can't access them from finder, terminal, or other softwares.
    It works fine when accessing them from a Windows 7 client.
    How can I fix this issue?
    Is there some SMB option to specify the UTF8 encoding?
    In addition, when I create a file with such characters from my mac, the special character shows as ?? on a non-mac client.

    it turns out I had way more filenames with accented letters that worked well with MacOS X.
    the difference is subtle: those OS X didn't like were like a "composition" of two character (sorry, I don't know the encoding details), that is a vowel and a unicode special character that modifies the previous char adding an accent.
    I discovered this while renaming the files from a Windows client, by placing the cursor after "é" in "perché" and hitting backspace, it turned into "perche", and hitting backspace again deleted the "e", turning into "perch".
    so I fixed those few invalid filenames.

  • Can't connect to SMB share after upgrade

    Just upgraded to 10.9 Mavericks and can no longer connect to our SMB file share on the network.  Several of us have tried connecting to it on this machine and all we get is
    There was a problem connecting to the server "xxxxxxx.domain.com".
    You do not have permission to access this server.
    Anyone else having this problem? 

    I have been searching high and low since yesterday afternoon for an answer to this.  My problem is not connecting to an SMB share (well, it was, as the old Cmd+K to connect to the SMB share would close quickly) but instead of the old Mac way of using Cmd+K and the IP address, I simply clicked on the available NAS SMB share under Shared and it is a massively fast connection.  The old SMB connection would take minutes to open the next folder. So, connecting as you would under Windows helped fix that problem, BUT...
    1.  The NAS SMB share times out regularly and you have to eject & reconnect.  Annoying.
    2.  Worse than this is I can not open any documents on the share, only navigate it.  I have to copy paste the documents to my local ssd, manipulate, copy back.  Any new file I copy on, or edit and copy on, the NAS SMB share I can navigate to and open.  But if I try to click a pre-Mavericks existing file, I get "Can not open 'excel/word/acrobat.app' with the -36" error.  Total BS. 
    3.  Even more weird, if I click spacebar on ANY file on the SMB Share it will pop up in preview.  Double click to open and error message.
    4.  If I copy a document attached to an email (Outlook 2011) to the server it is corrupt.  If I copy the file to local ssd, then to the NAS SMB, the same file works perfectly fine. 
    This is completely ridiculous and needs a fix immediately.  I'm going to try using Reinfire's link right now and see if that helps. 
    My NAS is a Netgear ReadyNAS 516 (linux/unix OS) I use in my office.  Computer is MBPr March 2013.    

  • Data Federator: Access Text file from secured Network Share or Sharepoint?

    Hi,
    I am using BusinessObjects Data Federator Designer XI 3.0 Service Pack 2 - 12.2.2.0 (Build 1002172322) and I'm new to DF.
    I am trying to use the Text File Datasource type to connect to a file on a secured Network Share and from a Sharepoint 2010 document repository. Is this possible?
    I am currently able to use the Text File datasource to read a file from a public network share (
    share\public\folderpath\file) or on the local federator machine using the "Local File" connection but cannot put in a username/password for accessing a secure network share. Is there a built in DF username/password that should be granted access to the share?
    Neiher the FTP File System or SMB Share seemed like it would work here either.
    For the Sharepoint connection, I know that I can make a webservice on a list and connect DF to the webservice, but I want to just connect to the document repository. I was unable to get this to work even with Sharepoint repositories using WebDav since the Local File method did not accept the url string (http://mysite.<org>.com/personal/<user>/Shared Documents). Is there any way to do this without having to change the way the file is exposed on the Sharepoint side?
    How is this normally handled? Put the files on a unsecured network share or on the DF server? Import the files into a DB and just use DB connections?
    Finally, is there a way to import XLS/XLSX files in DF or only CSV files?  I saw DI has an Excel Adaptor but didn't see anything for DF and when I tried it either could not retrieve the XML schema or reading the file's data failed.
    Thanks alot for the help.
    Kerby

    Bump, any help here with Data Federator usage?  Sharepoint, XLS files, or using secured network share?

  • Share one iTunes library on a SMB share between PC & Mac

    Hi,
    Is there anyway I can share one iTunes library and the music files on a SMB share between a PC and a Mac? I assume there would be a problem with how the Mac and PC assign network drives differently would be an issue, or is there a way around this?
    At the moment I'm only sharing the music files on the SMB share but with separately iTunes library on the PC and Mac.

    I have itunes match. its good but its not perfect. it downloads wrong versions of songs. for example it downloads the censored version of many of my songs. plus it doesnt do podcasts, movies, tvshows, books.
    plus it doesnt show my smart playlists in the same track order as on my computer. its good but it has bugs and shortcomings.
    thanks for the suggestion but i'd like to try the way i initially posted about.

  • Can I Create A Symbolic Link to folders stored on an SMB Share folder?

    Hello,
    I am very new to Unix and was hoping that someone could point me in the right direction with regards to Symbolic links and an SMB share folder ....
    Have purchased an ext. LAN Drive enclosure (http://www.macpower.com.tw/products/hdd3/pleiades/pd_usblan) which connects to my wireless router via ethernet like my G5 (main Mac) - our iBook connects via Airport. I have copied all my general documents/files to the SMB share folder on the ext. drive so that I can access them from the G5 and also the iBook.
    However I'd also like to be able to store my actual Mail folder (/Users/Mark/Library/Mail/), , Safari folder (/Users/Mark/Library/Safari) + my Address Book and other folders sitting in the Application Support folder on my SMB share so all important docs/folders are in the one place. I've tried storing these folders on the SMB share and putting an Alias to these back in Users/Mark/Library/Mail etc but of course an Alias doesn't work.
    Question 1: Can I create a symbolic link to these files if these are stored on an SMB share folder? If so, could you please tell me exactly what I'd need to type into Terminal? My SMB Share path is smb://STORAGE-XXXX/MARK
    I have copied my iPhoto library and iTunes library to the SMB share and are working fine.
    Question 2: Is it possible/worth attempting to move my whole home folder to the SMB share folder? Ideally, I'd like to be able to access my Mail from the iBook as well. If I could log into either the G5 or the iBook and access my latest Mail, Address Book and other Application Settings, that would be perfect. Would this be possible?
    Thanks
    Mark.
    Dual 1.8GHz G5 (Rev.B), 2Gig RAM, 9600XT   Mac OS X (10.4)  

    Dear Mark,
    Yes you can. The command to create a link will look something like this:
    $ ln -s thisFolder /Users/mark/thatFolder
    I did this while I was hosting a microsoft based game. This put all of the players into a common directory.
    SMB just resolved the link and everything worked fine.
    However, as I understand it, some other applications do NOT work very well with links. As I have NOT tried it with other applications, I fear I can be of NO help to you in this matter.
    The only way to find out which applications work with links is to try them and see what happens.
    Best of luck,
    Kurt

  • Can't copy large files to any Samba share

    Just updated to Mavericks but i'm having big problems moving bigger files (so far i've tried a couple of 4GB files) to a SMB share. Just the other day i could copy these files over just fine under Mountain Lion but Mavericks throws this error:
    "The item blablabla.bla can't be copied because it's too large for the volume's format"
    So far i've tried with a couple of files smaller than 4GB (up to 2.5gb so far) work just fine. No write errors either. The files can be copied without problems when i boot from my older harddrive with Mountain Lion still on it so i'm going to go out on a limb and say it's not a file or server error but a Mavericks error. Anyone know why or what to edit for this to work normally again?

    I have temporarily resolved this problem by reconnecting to the server and shares differently.
    Disconnect from the server
    In Finder, select "Go" and then "Connect to server..."
    For server address enter: CIFS://ServerNameOrIPAdress/
    Select the shares you need
    You will now be able to move bigger files to SMB shares again. For ease of use, drag a share or a folder within a share to your Sidebar.
    As it appears Apple has implemented a newer version of the SMB protocol, SMB2, that is still somewhat buggy and will throw errors like these.
    I hope this helps someone else as well.

  • WRT350N - V2.00.20: Write access problem to SMB share from Mac OS X 10.6.2

    Hi everyone, i've got a problem trying to write a file on the SMB share of the wireless router WRT350N from a MAC OS X 10.6.2 Finder (but also from a Leopard).
    I've got no problem neither reading from mac or writing from win.
    I've tried to write by cp command from terminal without problem.
    Sorry for my english and thanks everyone,
     Mr Proc 

    Same issue on my WRT610N V2. I am using iMac Intel running 10.6.2. Error -36 prompted when copying files to the USB share disk from the Finder. Working fine when on PC running XP.
    Another issue is DDNS can't report the router IP to DynDNS.com although it status that the update is successful and completed. After updated, the router's IP is still different to the IP shown on the DynDNS.com. I need to type the IP manually to the DynDNS.com
    Hope the new firmware would fix these problems.
    Thanks 
    Message Edited by rickysuper on 11-27-2009 12:00 AM

Maybe you are looking for

  • Problem in PO Closing

    Closing of the Purchase Orders The change is to be made for the field  ELIKZ Delivery completed indicator. All the open purchase orders are to be closed. But the material group of the materials has been changed so the system is issuing the message  M

  • Can't print on bluetooth printer?

    I have a HP PhotoSmart C5580 A.I.O printer with bluetooth capabilities. I have been trying to set it up on my MacBook Pro (running on Leopard) for months now. My bluetooth is turned on, and the printer is listed under devices on the bluetooth. Howeve

  • How can I delete calendar events that were sent by another user?

    When someone sends me a calendar event that recurs,and I accept, I cannot delete the recurrences of later dates, when I no longer need them.

  • Can't drag table to different position on page

    I want to create a small table and have it appear on the same line as text I've typed. But the table automatically goes down to the next line. When I attempt to drag it upwards or to any other location, it snaps back to the same place. A movie of me

  • EAN number missing leading zeroes

    Hi, I have configured two types of EAN/UPC numbers, one being 12 characters and one being 14.  In our business, we have a situation where a material has a case UPC number 00099999123456 and a package UPC of 099999123456. When these values are display