08-03-2005
Yeah groupid works too. Again nfs is checking the gids, not the name of the group.
8 More Discussions You Might Find Interesting
1. Red Hat
*** I also posted this in the Unix general forum, but would like to get the Linux point of view. ***
Hello all -
I've searched this forum, but was unable to find out the info I need.
I'm trying to mount (nfs mount) a directory on another box from my Linux machine.
The mount point... (1 Reply)
Discussion started by: Heron
1 Replies
2. UNIX for Dummies Questions & Answers
Hi,
Is it true that if I am not the root I can not select access permissions to a file that I own so that my friend (who also isn't the root) can access that file?
And is it true that the only way to accomplish it is to ask the root to "put" my friend into "my" group? Then I could simply set... (1 Reply)
Discussion started by: rudo
1 Replies
3. Red Hat
Hi everyone,
The last two days I'm researching results of NFS operations on Linux, and I noticed some time difference when read and write.
cat /proc/version : Linux version 2.6.9-42.ELsmp (bhcompile@hs20-bc1-1.build.redhat.com) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-2)) #1 SMP Wed Jul 12... (1 Reply)
Discussion started by: sysgate
1 Replies
4. HP-UX
I have an HP Unix server with Oracle DB and want to write Datapumo export files across the network to IMB/Linux NFS. Will that work? (3 Replies)
Discussion started by: Duane McDonough
3 Replies
5. Shell Programming and Scripting
good evening .. I have a plea, who I can help me with a management application user rights on the files in a Unix / Linux
I need for college .. .. and not told us no clue .. thank you (1 Reply)
Discussion started by: alex90
1 Replies
6. UNIX for Dummies Questions & Answers
Hello experts,
i am a Unix beginner and to test the rules of file rights (rwx)
i created the file
/root/testdir/subdir/test.sh
and set the rights of testdir,subdir, test.sh (using chmod) to various configurations in order to get an idea
in which case you need which rights. Test commands... (5 Replies)
Discussion started by: mike_bn
5 Replies
7. Solaris
A simple question about nfs and jumpstart
,i setup server (all on linux)
tftp ok # boot and reach menu grub,and start
nfs not ok
i did
/export/solaris 192.168.0.0/24(ro,no_root_squash,anonuid=0,anongid=0)
and on solaris i put config with sysidcfg,profile,etc
When solaris boot from net it... (1 Reply)
Discussion started by: Linusolaradm1
1 Replies
8. Shell Programming and Scripting
Hello,
i'm trying to write a script sh to convert the rights of a folder or file in a number.
Explain:
ls -l = rwxrwxrwx
so i must display 777.
Do you known where i can find so convert script
Thanks
Use code tags, thanks. (11 Replies)
Discussion started by: steiner
11 Replies
LEARN ABOUT DEBIAN
dpns_getgrpbygids
DPNS_GETGRPBYGIDS(3) DPNS Library Functions DPNS_GETGRPBYGIDS(3)
NAME
dpns_getgrpbygids - get group names associated with given virtual gids
SYNOPSIS
#include <sys/types.h>
#include "dpns_api.h"
int dpns_getgrpbygids (int nbgroups, gid_t *gids, char **groupnames)
DESCRIPTION
dpns_getgrpbygids gets the group names associated with given virtual gids.
nbgroups
specifies the number of gids.
gids specifies the Virtual Group Ids.
groupnames
specifies a buffer to receive the pointers to the associated group names. The buffer must be big enough to hold nbgroups pointer
values. The client application is responsible for freeing the array elements when not needed anymore.
RETURN VALUE
This routine returns 0 if the operation was successful or -1 if the operation failed. In the latter case, serrno is set appropriately.
ERRORS
ENOMEM Memory could not be allocated for unmarshalling the reply.
EFAULT gids or groupnames is a NULL pointer.
EINVAL nbgroups is not strictly positive or one of the gids does not exist in the internal mapping table.
SENOSHOST Host unknown.
SENOSSERV Service unknown.
SECOMERR Communication error.
ENSNACT Name server is not running or is being shutdown.
DPNS
$Date: 2007/03/21 10:24:15 $ DPNS_GETGRPBYGIDS(3)