On Fri, Sep 14, 2007 at 11:57:12AM +0530, Y Giridhar Appaji Nag wrote:

> - Just before you save the attachment to the CIFS share, start a
>   "strace -p <pid-of-the-mutt-process>"
> - save the attachment from mutt
> - stop the strace (^C)

gettimeofday({1189775429, 354209}, NULL) = 0
rt_sigaction(SIGINT, {0x80adb20, [], SA_RESTART}, NULL, 8) = 0
write(1, "\33[?12l\33[?25h", 12)        = 12
write(1, "\33[?25l", 6)                 = 6
rt_sigaction(SIGINT, {0x80adb20, [], 0}, NULL, 8) = 0
gettimeofday({1189775429, 354884}, NULL) = 0
poll([{fd=0, events=POLLIN, revents=POLLIN}], 1, 600000) = 1
gettimeofday({1189775431, 767549}, NULL) = 0
read(0, "\33", 1)                       = 1
gettimeofday({1189775431, 767755}, NULL) = 0
poll([{fd=0, events=POLLIN, revents=POLLIN}], 1, 1000) = 1
gettimeofday({1189775431, 767871}, NULL) = 0
read(0, "O", 1)                         = 1
gettimeofday({1189775431, 768003}, NULL) = 0
poll([{fd=0, events=POLLIN, revents=POLLIN}], 1, 1000) = 1
gettimeofday({1189775431, 768116}, NULL) = 0
read(0, "A", 1)                         = 1
rt_sigaction(SIGINT, {0x80adb20, [], SA_RESTART}, NULL, 8) = 0
write(1, "\33[?12l\33[?25h", 12)        = 12
write(1, "\33[?25l", 6)                 = 6
write(1, "\r\33[60d\33[J\33[3d\33[0;1m\33(B\33[33m\33[41m"..., 198) = 198
rt_sigaction(SIGINT, {0x80adb20, [], 0}, NULL, 8) = 0
gettimeofday({1189775431, 770097}, NULL) = 0
poll([{fd=0, events=POLLIN, revents=POLLIN}], 1, 600000) = 1
gettimeofday({1189775432, 591382}, NULL) = 0
read(0, "s", 1)                         = 1
rt_sigaction(SIGINT, {0x80adb20, [], SA_RESTART}, NULL, 8) = 0
write(1, "\33[?12l\33[?25h", 12)        = 12
write(1, "\r\33[60dSave to file: \33[m\33(B", 26) = 26
write(1, "855.14 Dennis-Nanoparticle-F4.do"..., 39) = 39
rt_sigaction(SIGINT, {0x80adb20, [], 0}, NULL, 8) = 0
read(0, "\33", 1)                       = 1
gettimeofday({1189775433, 735512}, NULL) = 0
poll([{fd=0, events=POLLIN, revents=POLLIN}], 1, 1000) = 1
gettimeofday({1189775433, 735711}, NULL) = 0
read(0, "O", 1)                         = 1
gettimeofday({1189775433, 735849}, NULL) = 0
poll([{fd=0, events=POLLIN, revents=POLLIN}], 1, 1000) = 1
gettimeofday({1189775433, 735963}, NULL) = 0
read(0, "A", 1)                         = 1
rt_sigaction(SIGINT, {0x80adb20, [], SA_RESTART}, NULL, 8) = 0
write(1, "\33[60;15H/mnt/elwood/855/internal"..., 78) = 78
rt_sigaction(SIGINT, {0x80adb20, [], 0}, NULL, 8) = 0
read(0, "\r", 1)                        = 1
rt_sigaction(SIGINT, {0x80adb20, [], SA_RESTART}, NULL, 8) = 0
access("/mnt/elwood/855/internal/855GL/855.14 Dennis-Nanoparticle-F4.doc", 
F_OK) = -1 ENOENT (No such file or directory)
write(1, "\r\33[31mSaving...\33[39;49m\33[K\33[m\33(B", 32) = 32
lstat64("/mnt/elwood/855/internal/855GL/.mutt4ma2bk", 0xbfb5e13c) = -1 ENOENT 
(No such file or directory)
mkdir("/mnt/elwood/855/internal/855GL/.mutt4ma2bk", 0700) = 0
open("/mnt/elwood/855/internal/855GL/.mutt4ma2bk/855.14 
Dennis-Nanoparticle-F4.doc", O_WRONLY|O_CREAT|O_EXCL|O_LARGEFILE|O_NOFOLLOW, 
0600) = 5
close(5)                                = 0
link("/mnt/elwood/855/internal/855GL/.mutt4ma2bk/855.14 
Dennis-Nanoparticle-F4.doc", "/mnt/elwood/855/internal/855GL/855.14 
Dennis-Nanoparticle-F4.doc") = 0
lstat64("/mnt/elwood/855/internal/855GL/.mutt4ma2bk/855.14 
Dennis-Nanoparticle-F4.doc", {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
lstat64("/mnt/elwood/855/internal/855GL/855.14 Dennis-Nanoparticle-F4.doc", 
{st_mode=S_IFREG|S_ISGID|S_ISVTX|0767, st_size=0, ...}) = 0
unlink("/mnt/elwood/855/internal/855GL/.mutt4ma2bk/855.14 
Dennis-Nanoparticle-F4.doc") = 0
rmdir("/mnt/elwood/855/internal/855GL/.mutt4ma2bk") = 0
write(1, "\7", 1)                       = 1
write(1, "\r\33[0;1m\33(B\33[31mfopen: File exist"..., 60) = 60
write(1, "\rSave to file:\33[K \33[m\33(B", 24) = 24
write(1, "/mnt/elwood/855/internal/855GL/8"..., 70) = 70
rt_sigaction(SIGINT, {0x80adb20, [], 0}, NULL, 8) = 0
read(0, "\7", 1)                        = 1
rt_sigaction(SIGINT, {0x80adb20, [], SA_RESTART}, NULL, 8) = 0
write(1, "\33[?25l", 6)                 = 6
write(1, "\33[H\n\n    2 855.14 Dennis-Nanopar"..., 248) = 248
rt_sigaction(SIGINT, {0x80adb20, [], 0}, NULL, 8) = 0
gettimeofday({1189775436, 467710}, NULL) = 0
poll( <unfinished ...>

> 
> Also, did you pass any parameters (in particular, the fmask option) to
> smbmount/mount when you were mounting the CIFS share?

Here's the line from /etc/fstab

//elwood.nist.gov/85_msel/855/users/luecke /mnt/elwood    cifs 
rw,noauto,user,uid=luecke,gid=luecke,credentials=/home/luecke/.elwood-creds,domain=NIST
 0 0


I don't know if this is significant, but I have r/w rights in two
fileshares of our server. One is my personal directory, which you
see mounted in /etc/fstab. When that directory is mounted, I had hoped
that I would see the mount point

/mnt/elwood

contain my file share

but as you see from the file save stuff above, it actually mounts all
of our server, and I have to navigate down to my file share. But the
file save problem happens in both the "luecke" and "855GL" file shares
(I just tried it). 

bill



-- 

William Luecke   
NIST Metallurgy Division; Materials Performance Group
100 Bureau Dr  MS 8553, Gaithersburg, MD 20899
[EMAIL PROTECTED]  301 975 5744 (voice) 301 975 4553 (fax)

The power of invention has been conferred by nature upon few, and the
labour of learning those sciences which may, by mere labour, be
obtained, is too great to be willingly endured; but every man can
exert such judgement as he has upon the works of others; and he whom
nature has made weak, and idleness keeps ignorant, may yet support his
vanity by the name of a critic.
                 Samuel Johnson, The Idler No. 60



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to