lkml.org 
[lkml]   [2002]   [Oct]   [5]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSat, 5 Oct 2002 12:21:15 +0200
FromRichard Zidlicky <>
Subject2.4.19 NFS file perms
Hi,

on an NFS mounted fs, executing as root I see this:

[root@sirizidl nfsr]# ll /nfsr/toplev.fig 
-rw-------    1 kernel   users       48500 Oct  5 11:42 /nfsr/toplev.fig
[root@sirizidl nfsr]# xfig /nfsr/toplev.fig 
[snip]
...
stat64("toplev.fig", {st_mode=S_IFREG|0600, st_size=48500, ...}) = 0
open("toplev.fig", O_RDONLY)            = 4
fstat64(4, {st_mode=S_IFREG|0600, st_size=48500, ...}) = 0
old_mmap(NULL, 48500, PROT_READ, MAP_PRIVATE, 4, 0) = 0xc0011000
read(4, 0xefffe4cb, 1)                  = -1 EIO (Input/output error)
_llseek(4, 48500, [48500], SEEK_SET)    = 0
--- SIGBUS (Bus error) ---
glibc crashes in fgets because it doesn't expect the problem after the 
file has been successfully opened and mapped.. who is at fault here?

Remote nfs server is an old userspace implementation btw.

Richard

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:29    [from the cache]
©2003-2008