Home › Forums › OS X Server and Client Discussion › File Serving › NHR issue
- This topic has 14 replies, 5 voices, and was last updated 18 years, 3 months ago by
afp548contributor.
-
AuthorPosts
-
November 20, 2006 at 9:16 pm #367666
rstasel
ParticipantAll,
I’m having some issues with NHR or other personally rolled loginhooks to deal with Office performance.
Both result in Word (Excel works fine) error-ing on saving with a “word cannot complete the save due to a file permission error”. Then it shows the temp file on the desktop (which is promptly deleted after quiting word).
Has anyone seen this? I haven’t been able to find anything on google, or afp548 describing this issue. I’ve played with twiddling the permissions on the directories that NHR sets up, but to no avail.
This issue presents itself in both a fully updated Office X, and Office 2004.
Thanks!
November 21, 2006 at 6:57 pm #367678rstasel
ParticipantJoel, thanks for the quick follow up,
Home dirs are set up via afp using network home directories. Server is a 10.4.8 Server box, clients are 10.4.8 as well.
pwd shows the paths that Word is seeing being the same as if the redirector were not there.
hmmm…. this might be a group mapping issue. I ran lsof after the first save (which is successful) and after the second save which is not. I put these files to /tmp/rstasel where the Microsoft stuff is redirected. I then tried to move them to my desktop (which is on a network home directory) (so they moved from a local space to the server) and got the following error:
mv: /Network/Servers/server.domain.dom/Volumes/Data/Users/rstasel/Desktop/firstsave.txt: set owner/group (was: 1097/0): Permission denied
(I’ve replaced the server name to protect it’s innocence).
Moving ANY file from /tmp/username to that users home folder produces this error… which is probably why Word is throwing a fit.
The files did move. In /tmp/rstasel they show as being owned by rstasel, with a group of wheel. On the desktop they are rstasel:staff (I do have staff set as my primary group on our OD).
So, what does this mean? Do I need to add some groups to the local machine? Why is it thinking I am part of wheel locally when I have no local account on this machine. I “groups” command does not even return wheel. The first group listed is staff. Bug?
Thanks!
November 21, 2006 at 8:57 pm #367680rstasel
Participantfalse alarm.
After modifying the script to make the /tmp/username folder grouped correctly, moving stuff out of it to the network user directory works flawlessly. However, word still chokes.
Will keep looking. Just interesting that I seem to be the only person running into this.
Thanks!
November 22, 2006 at 12:12 am #367683rstasel
ParticipantSeems that Word does store tmp files in
/private/var/tmp/folders.uuid/TemporaryItems/
Where uuid is the user’s unix id.
Fixing the group on that folder (which also was set to wheel) also resulted in no progress.
Anyone have any idea?
November 27, 2006 at 8:55 pm #367722rstasel
Participantbump?!
November 28, 2006 at 4:46 pm #367731PVanderVossen
ParticipantI can confirm similar issues with Microsoft Office in 10.4.8 on a 10.4.8 server, but using the Office X (the old version). I have heard the new version doesn’t fix this, and other issues I have, so I don’t bother to pay that upgrade tax. We have issues with Word and Excel saying it could not or would not save. Sometimes it does save, sometimes it doesn’t. Sometimes it corrupts files (which magically Neo Office can open) and other times it will create Word Workfiles on our desktops which I can only delete from a root account. I haven’t had too much time to sort it all out, but it seems to have something to do with how they save temp / undo files and of course Microsoft programs are the only programs I have that exhibit these same issues.
November 28, 2006 at 11:32 pm #367736rstasel
ParticipantExcel seems to work. Word doesn’t.
We do see that issue.
So, what office are you having luck with working, and what office doesn’t? Office 2004 is also broken for me… but I haven’t tried older versions of Office X (like 10.1.7, or 10.1.6).
December 3, 2006 at 8:44 am #367762rstasel
ParticipantJoel,
I’m not sure I follow. I’m trying to save to the Desktop Folder, or Documents Folder, of a network home directory.
I do have a .TemporaryItems folder at the root level of that home directory. Does word try to save something to that directory?
I just can’t figure out why other people wouldn’t have issues with NHR.
I tried Office X 10.4.6 and 10.4.7 and both of those do it as well. Excel continues to work just fine. So Word is doing something special that the other programs are not doing. Heaven forbid MS or any software developer could give technical documentation on what happens when a file is being saved. lsof didn’t give me a lot of info… any ideas on when I should run it to figure out what it’s trying to do.
Thanks!
December 5, 2006 at 8:47 pm #367781rstasel
ParticipantOkay. Confusing though since word works fine without using NHR… but with it installed, things barf.
Looking as lsof, it looks like it’s trying to write to:
Before save fails:
/private/Network/Servers/server/Volumes/Data/Users/rstasel/Desktop/asdfakjsdflkj.doc
/private/var/tmp/folders.1097/TemporaryItems/dftmpPPGBLJBMlkkkkkkk——–After save fails:
/private/var/tmp/folders.1097/TemporaryItems/dftmpPPGBLJBMmkkkkk———–
/private/Network/Servers/server/Volumes/Data/Users/rstasel/Desktop/Word Work File L_4Doesn’t look out of the ordinary to me other than the fact it fails.
How are other people not having problems with NHR?? unless no one uses it.
Thanks.
January 3, 2007 at 6:35 pm #367930Flash
ParticipantSame problem here. Same Word error when saving modified files whether I use nhrbasic or nhr. Anyone ever find a fix for this?
January 3, 2007 at 11:51 pm #367937Flash
ParticipantThis appears to have fixed the problem. Thanks to Jeff, NHR’s co-developer:
[url]http://www.macosxhints.com/article.php?story=20051122213207398[/url]
-
AuthorPosts
- You must be logged in to reply to this topic.
Comments are closed