On Wed, Jan 16, 2008 at 11:34:00AM +0800, [EMAIL PROTECTED] wrote:
> Please retry on an account with a ~/Mail directory in place!
Interesting; what's in your muttrc?  I see in strace: 

stat64("/home/jpryzby/Mail", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/dev/sda", {st_mode=S_IFBLK|0660, st_rdev=makedev(8, 0), ...}) = 0
[...]
open("/dev/sda", O_RDONLY|O_LARGEFILE)  = -1 EACCES (Permission denied)
open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT 
(No such file or directory)

So it gets an error and immediately notices and uses the value of
errno, as expected.

> $ test -r /var/log/syslog||echo no
> no
> $ mutt -f /var/log/syslog
> /var/log/syslog: Success (errno = 0)        #<---BAD MESSAGE "Success" HERE
> $ mv Mail OMail
> $ mutt -f /var/log/syslog #(Here we are asked a question too.)
> /var/log/syslog: Permission denied (errno = 13) #<----GOOD message.
> 
> Mutt 1.5.17+20080114-1
> 
> 



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

Reply via email to