[2196] in linux-net channel archive

home help back first fref pref prev next nref lref last post

Re: ncpfs and nfs

daemon@ATHENA.MIT.EDU (Thayne Harbaugh)
Thu Mar 21 10:07:00 1996

Date: 	Thu, 21 Mar 96 07:34:11 MST
From: thayne@lardav.com (Thayne Harbaugh)
To: andreas@medman.ag.or.at
Cc: linux-kernel@vger.rutgers.edu, linux-net@vger.rutgers.edu

Andreas wrote
-------------------Snip-------------------------
Check the uid's, check the permissions, etc. It sometimes happens,
that
x >y
works locally, and not via NFS, because NFS is stateless :((((
-------------------Snip-------------------------

permissions are 777 and uid and gid are correct.  Local directories of the
Linux box can be exported without a problem.  It's JUST the directories
mounted with NCPFS and then re-exported via NFS.  On Sparcstations where they
are mounted I can create files with vi and other tools, delete files, etc.
The ONLY problem I have found is that I can't create a non-empty file by
using redirection.  Strange . . .

I doubt it's an NFS problem because local directories with similar permissions
gid and uid work fine.

thayne_harbaugh@lardav.com



On Wed, 20 Mar 1996, Thayne Harbaugh wrote:

> I'm using ncpfs-0.17 to mount NetWare volumes to Linux and then re-export
> them under nfs to sparcstations.  Users on the sparcstations seem to be able
> to create files and manipulate them normaly.  However, if the file doesn't
> already exist AND have data in it then redirection will only create the file.
> 
> ls >junk
> 
> creates an empty file called junk without the directory listing.
> 
> if junk1 is a file with data and junk2 is a file with data then
> 
> cat junk1>>junk2
> 
> concatenates junk1 on the end of junk2
> 
> if junk1 is a file with data and junk3 is an empty file then
> 
> cat junk1>>junk3
> 
> doesn't concatenate junk1 on the end of junk3
> 
> 
> The local system administrator says that there is something "broken" with
> redirection in the kernel of linux.  Is there maybe a problem with the ncpfs
> portion of the kernel or both.  The problems are NOT present on the linux
> machine that mounted the NetWare volume - just the machines that have mounted
> the re-exported directories vie NFS.  Any ideas?
Check the uid's, check the permissions, etc. It sometimes happens,
that
x >y
works locally, and not via NFS, because NFS is stateless :((((


home help back first fref pref prev next nref lref last post