12-04-2013
Quote:
Originally Posted by
samnyc
Robin, Thank you for your advise. I think I know what's going on here. This directory is on local and part of on the NFS drive. Very confusing.
I haven't read even the second post and my first thought was "NFS". It is quite easy: the ownership of a directory is displayed if you "ls" it, but it is not the
local user you see, but the
remote user! root@here is not root@there, even if they have the same name. You might be root@here, but the directory belongs to root@there ("there" being the server the NFS mount originates from).
Its like that: "John Doe" dies and passes some heritage to his son "James Doe". You can't claim this heritage on the grounds of being named "James Doe" too - you actually have to be "James Doe, the son of John Doe", not some guy who accidentally happens to have the same name.
I hope this helps.
bakunin
This User Gave Thanks to bakunin For This Post:
10 More Discussions You Might Find Interesting
1. Programming
a program on linux uses three libs: libutil.a libtermcap.a libpthread.a.
If I want to transplant this program to Solaris, where can I get the three libs?
Thanks. (2 Replies)
Discussion started by: hewlet
2 Replies
2. Linux
Hi Friends !
Where can I get free ct-lib for Lynix ??
My problem is something like this--
Sybase server is running on a Solaris machine.
Now I trying to access the Sybase from a Lynix machine for which i need ct-lib. I tried by downloading some free ct-libs for Lynix on the net, but they... (2 Replies)
Discussion started by: mrgubbala
2 Replies
3. Programming
A good day to you, dear experts,
I am a newbie, I noticed in binutils or gcc there are lib and lib32 and lib64, to take binutils as an example,
My system is sgi IRIX6.5, which is suggested to use "n32" flag during the compiling and linking, is that mean that I need to use lib32?
Q1. which one... (2 Replies)
Discussion started by: lakeat
2 Replies
4. UNIX for Advanced & Expert Users
i download a boost library from net on/by window machine...i am using telnet connection.then how can i untar/compile/install boost library to /usr/local/lib...on my unix machine. (1 Reply)
Discussion started by: prangin
1 Replies
5. Programming
Hi,
I am on Fedora9 and need to do some simple 2D graphics (for game development). I am looking for an ideal 2D library/package to be used with GCC.
I have come accross GRX, libmxi and some OpenGL (The 3D), but none of which seems to be ok.
I could not find any tutorial or support material... (1 Reply)
Discussion started by: nasersh
1 Replies
6. Programming
Hello,
I'm trying to use gd with c++ in linux. Previously, I had already succeed using the gd lib in windows through gdwin32. Now I would like to run the program in linux but i'm not sure how to do it. I'm currently try running it in cygwin, but I couldn't compiled it. Any suggestion? (3 Replies)
Discussion started by: shahrulb
3 Replies
7. Red Hat
Hello,
I'm experimenting a problem on my rh server.
Red Hat Enterprise Linux AS release 3 (Taroon Update 8)
2.4.21-47.ELsmp #1 SMP i686 i686 i386 GNU/Linux
It started with a segmentation fault on
#id root
To resolve it, I've installed
coreutils-4.5.3-28.4.i386.rpm
But, I... (6 Replies)
Discussion started by: gogol_bordello
6 Replies
8. Red Hat
Hai dear,
I am installing some application on linux RedHat 9
It gives me following discrepancies
lib.so.6 (GLIBC_2.3.4) needed
lib.so.6 (GLIBC_2.4) needed
libpthread.so.0(GLIBC_2.3.3) needed
rtld(GNU_HASH) needed
i tried to search a lot on internet to find relative rpm for these libs... (3 Replies)
Discussion started by: Danish Shakil
3 Replies
9. AIX
Hi...please help with command to find the library version on AIX server
---------- Post updated at 12:50 PM ---------- Previous update was at 12:31 PM ----------
AIX version is 6.1.Please (4 Replies)
Discussion started by: Sanal
4 Replies
10. AIX
Hi All,
I am trying to install IIS Suite application on AIX box. It gave an error as below
Ensure the following libraries do not exist: /usr/lib/libicuio.a, /usr/lib/libicuuc.a, /usr/lib/libicui18n.a. These libraries may cause uvsh to not work properly.
I manually removed these files by... (1 Reply)
Discussion started by: tostay2003
1 Replies
LEARN ABOUT CENTOS
vop_readdir
VOP_READDIR(9) BSD Kernel Developer's Manual VOP_READDIR(9)
NAME
VOP_READDIR -- read contents of a directory
SYNOPSIS
#include <sys/param.h>
#include <sys/dirent.h>
#include <sys/vnode.h>
int
VOP_READDIR(struct vnode *vp, struct uio *uio, struct ucred *cred, int *eofflag, int *ncookies, u_long **cookies);
DESCRIPTION
Read directory entries.
vp The vnode of the directory.
uio Where to read the directory contents.
cred The caller's credentials.
eofflag Return end of file status (NULL if not wanted).
ncookies Number of directory cookies generated for NFS (NULL if not wanted).
cookies Directory seek cookies generated for NFS (NULL if not wanted).
The directory contents are read into struct dirent structures. If the on-disc data structures differ from this then they should be trans-
lated.
LOCKS
The directory should be locked on entry and will still be locked on exit.
RETURN VALUES
Zero is returned on success, otherwise an error code is returned.
If this is called from the NFS server, the extra arguments eofflag, ncookies and cookies are given. The value of *eofflag should be set to
TRUE if the end of the directory is reached while reading. The directory seek cookies are returned to the NFS client and may be used later
to restart a directory read part way through the directory. There should be one cookie returned per directory entry. The value of the
cookie should be the offset within the directory where the on-disc version of the appropriate directory entry starts. Memory for the cookies
should be allocated using:
...;
*ncookies = number of entries read;
*cookies = (u_int*)#
malloc(*ncookies * sizeof(u_int), M_TEMP, M_WAITOK);
ERRORS
[EINVAL] An attempt was made to read from an illegal offset in the directory.
[EIO] A read error occurred while reading the directory.
SEE ALSO
vnode(9)
AUTHORS
This manual page was written by Doug Rabson.
BSD
July 24, 1996 BSD