04-27-2019
This might be just a rights issue. You can't use sudo unless you are authorised to do so.
Have you tried all this logged in as root???????
Root user overrides conventional security and will not be stopped on rights issues.
What userid are you running this installation under?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm kicking Unix questions out like Bruce Lee. So I'm copying a directory of files, in each directory I inevitablly get this:
I get that for usually the same set of directories/files in each folder. Is there a way to override this when copying files? (4 Replies)
Discussion started by: JPigford
4 Replies
2. Programming
Hello,
I am trying to port some testtools we wrote from solaris to redhat linux(AMD64). If I link dynamic, set the correct LD_LIBRARY_PATH, everything runs fine.
If I try to link static, the pthread_create returns "operation not permitted" (error code 1).
Does anybody have an idea where to... (1 Reply)
Discussion started by: Micky
1 Replies
3. Linux
Hi
I am using CentOS 4 machine..trying to install MySQL for python to setup a boinc project..
During the building process I am getting this error..I have even set the LD_lIBRARY_PATH to /usr/local/lib where the libmysqlclient.so file is present..
./python -E ./setup.py build
./python: error... (1 Reply)
Discussion started by: Gayathrirri
1 Replies
4. Shell Programming and Scripting
Hi - I have a script (.ksh) which has been transferred from one Linux box to another. Basically it untars a file a deploys the code to the relevent directories. It is failing with ' Cannot utime: Operation not permitted'
When I run the command by hand it *is* doing the untar to the directories... (1 Reply)
Discussion started by: ajcannon
1 Replies
5. Linux
Hi i have written one backup script in linux workstation.The backup script will do zipping files and moved to the backup directory(i,e /net/ts-bcn/sb_backup/sand).
#So while moving zipped files to the backup directory i am getting some error like this
error:mv:failed to preserve ownership... (2 Replies)
Discussion started by: yogks
2 Replies
6. AIX
Hi all,
iam unable to mount exported directory hari on AIX 5.3,
which was in RedHat Linux As4.
Linux-server
AIX -client
I am facing errors of
bash-3.00# mount -n linuxas4 /hari /hari
mount: 1831-008 giving up on:
linuxas4:/hari
vmount: Operation not permitted.
Pl any body... (1 Reply)
Discussion started by: haribabu
1 Replies
7. UNIX for Dummies Questions & Answers
Hi Expert,
I am trying to change ownership of one file to another user that is exist in the system but getting operation not permitted error
what could be the correct way?
# ls -lh .Xauthority_ori
-rw------- 1 maxim atlas 2.8K Jul 27 17:18 .Xauthority_ori
# id -a
uid=0(root)... (8 Replies)
Discussion started by: regmaster
8 Replies
8. Shell Programming and Scripting
Hi,
Thanks for looking into this.
I am running into below situation in free BSD.
I have a file in /tmp/sample.txt with owner as 'xyz' and group as 'wheel'
I am moving it to my home dir/newsample.txt whihc has owner 'xyz', but group 'someother' with below command, getting warning, but it is... (2 Replies)
Discussion started by: ramanaraoeee
2 Replies
9. Shell Programming and Scripting
Hi All,
I want to install mysql on my server but i dont have root access
when i have tried to install this MySQL-client-3.3.15-3.rhel5.x24_74.rpm
using the command rpm -ivh MySQL-client-3.3.15-3.rhel5.x24_74.rpm
getting error error: can't create transaction lock on... (0 Replies)
Discussion started by: aish11
0 Replies
10. Ubuntu
on ubuntu lamp server how to install mysql and apache? any instructions? (1 Reply)
Discussion started by: srinathk
1 Replies
LEARN ABOUT REDHAT
nwgrant
NWGRANT(8) nwgrant NWGRANT(8)
NAME
nwgrant - Add Trustee Rights to a directory
SYNOPSIS
nwgrant [ -h ] [ -S server ] [ -U user name ] [ -P password | -n ] [ -C ] [ -o object name ] [ -t type ] [ -r rights ] file/directory
DESCRIPTION
nwgrant adds the specified bindery object with the corresponding trustee rights to the directory.
nwgrant looks up the file $HOME/.nwclient to find a file server, a user name and possibly a password. See nwclient(5) for more information.
Please note that the access permissions of $HOME/.nwclient MUST be 600 for security reasons.
OPTIONS
-h
-h is used to print out a short help text.
-S server
server is the name of the server you want to use.
-U user
user is the user name to use for login.
-P password
password is the password to use for login. If neither -n nor -P are given, and the user has no open connection to the server, nwgrant
prompts for a password.
-n
-n should be given if no password is required for the login.
-C
By default, passwords are converted to uppercase before they are sent to the server, because most servers require this. You can turn off
this conversion by -C.
-o object name
The name of the object to be added as trustee.
-t object type
The type of the object. Object type must be specified as a decimal value. Common values are 1 for user objects, 2 for group objects and
3 for print queues. Other values are allowed, but are usually used for specialized applications. If you do not specify object type,
object name is taken as NDS name.
-r rights
You must tell nwgrant which rights it should grant to the bindery object. The new rights for the object is specified by rights, which
can be either a hexadecimal number representing the sum of all the individual rights to be granted or a string containing characters
representing each right. If rights are represented in string format then the string must be bounded with square brackets. Characters
within the brackets may be in any order and in either case. Spaces are allowed between the brackets - in which case the entire string
should be quoted. Hexadecimal and character values for the rights are shown in this table:
00 = no access
01 = read access = R
02 = write access = W
08 = create access = C
10 = delete access = E
20 = ownership access = A
40 = search access = F
80 = modify access = M
100 = supervisory access = S
for a possible total of "1fb" or "[SRWCEMFA]" for all rights.
file/directory
You must specify the directory to which to add the object as trustee. This has to be done in fully qualified NetWare notation.
Example:
nwgrant -S NWSERVER -o linus -t 1 -r fb 'data:homelinus'
With this example, user linus is given all rights except supervisory to his home directory on the data volume. This example assumes the
existence of the file $HOME/.nwclient.
nwgrant -o linus -t 1 -r fb /home/linus/ncpfs/data/home/linus
With this example, user linus is given all rights except supervisory to his home directory on the data volume. This example assumes that
NWSERVER is already mounted on /home/linus/ncpfs mountpoint.
AUTHORS
nwgrant was written by Volker Lendecke with the corresponding NetWare utility in mind. See the Changes file of ncpfs for other contribu-
tors.
nwgrant 5/19/2000 NWGRANT(8)