[Aquamacs-devel] lock files cause Aquamacs to hang

Pete Siemsen siemsen at ucar.edu
Thu Oct 22 10:47:17 UTC 2009


Some more information:

In previous messages, I wrote that I to avoid having Aquamacs hang, I  
could go to the remote system and delete the lock file, and then  
Aquamacs would be able to edit the file associated with the lock  
file.  That's true, but I deleted the lock file by executing an "rm"  
command on the remote system.  Today it occurred to me that since the  
hang is occurring on a call to unlink, I might be able to hang a  
Terminal session on my local Mac by using an "rm" command, specifying  
the remote file.  Here's a "before-and-after" executed on my Mac named  
okapi, with a remote file named index.shtml and it's Aquamacs- 
generated lock file:

okapi-2$ ls -alt /Volumes/web/nets/
total 6292
drwxrwxr-x   2 siemsen  siemsen    16384 Oct 22 04:23 .
-rwxrw-r--   1 siemsen  siemsen     3101 Oct 22 04:23 index.shtml
lrwxrwxrwx   1 siemsen  siemsen       27 Oct 22 04:23 .#index.shtml -> siemsen at okapi-2.local.94014
drwxrwxr-x  13 siemsen  siemsen    16384 Oct 19 11:51 ..
okapi-2$ rm /Volumes/web/nets/.#index.shtml
okapi-2$ ls -alt /Volumes/web/nets/
total 6292
drwxrwxr-x   2 siemsen  siemsen    16384 Oct 22 04:24 .
-rwxrw-r--   1 siemsen  siemsen     3101 Oct 22 04:23 index.shtml
lrwxrwxrwx   1 siemsen  siemsen       27 Oct 22 04:23 .#index.shtml -> siemsen at okapi-2.local.94014
drwxrwxr-x  13 siemsen  siemsen    16384 Oct 19 11:51 ..
okapi-2$

Interesting - the rm command didn't work, but didn't hang, and didn't  
give an error message.  It seems that this shows some kind of problem  
with SMB sharing of symbolic links, external to Aquamacs.  Perhaps I  
should try to take this to the maintainers of the SMB code?

-- Pete

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.aquamacs.org/pipermail/aquamacs-devel/attachments/20091022/2aa03a3c/attachment-0009.htm>


More information about the Aquamacs-devel mailing list