Sponsored Content
Top Forums Shell Programming and Scripting mv warning set owner/group: Operation not permitted Post 302586114 by hombreopaco on Friday 30th of December 2011 07:31:00 AM
Old 12-30-2011
Hi ramanaraoeee, it seams that the user xyz do not belongs to the group 0, so the file can not be moved with the same properties.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

"Operation not permitted" when copying directories

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

pthread_create returns "operation not permitted" if I try to link static?

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. Shell Programming and Scripting

Cannot utime: Operation not permitted

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

4. UNIX for Dummies Questions & Answers

How to set the name of the group and the owner while creation of the file?

How to set the name of the group and the owner while creation of the file? -rwxrwxr-x 1 root sys 1202 Dec 5 2002 abc.awk like here i need to set the name of root and sys to xxx xxx Any help is appreciated. Thanks. (2 Replies)
Discussion started by: nehak
2 Replies

5. Linux

failed to preserve ownership operation not permitted

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

AIX5.3--vmount: Operation not permitted

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 Advanced & Expert Users

How UNIX admin set up this? how files of 744 of other owner can be removed by another owner?

Hi all, We have some files are under 744 permissions and the the owner is say owner1 and group1. Now we have another user owner2 of group2, owner2 can remove files of the owner1 and the permission of those files are 744, unix admin told us he did some config at his side so we can do that. ... (14 Replies)
Discussion started by: TheGunMan
14 Replies

8. UNIX for Dummies Questions & Answers

chown: Operation not permitted as root

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

9. UNIX for Dummies Questions & Answers

Finding the Group Owner Name

Hi all, How can i find the group owner name...??? Thanks (4 Replies)
Discussion started by: mansahr143
4 Replies

10. UNIX for Beginners Questions & Answers

Mysql installation - Operation not permitted

Hello, Since over one week, I have been consistently searching for a solution to my mysql installation errors. I surfed many sites on google to get rid of the issue. Now google gives me all the same results, I tested many of those solutions provided by... Now I am pulling hair I am under... (12 Replies)
Discussion started by: baris35
12 Replies
chown(1B)					     SunOS/BSD Compatibility Package Commands						 chown(1B)

NAME
chown - change owner SYNOPSIS
/usr/ucb/chown [-fR] owner[.group] filename... DESCRIPTION
chown changes the owner of the filenames to owner. The owner can be either a decimal user ID (UID) or a login name found in the password file. An optional group can also be specified. The group can be either a decimal group ID (GID) or a group name found in the GID file. In the default case, only the super-user of the machine where the file is physically located can change the owner. The system configura- tion option {_POSIX_CHOWN_RESTRICTED} and the privileges PRIV_FILE_CHOWN and PRIV_FILE_CHOWN_SELF also affect who can change the ownership of a file. See chown(2) and privileges(5). OPTIONS
The following options are supported: -f Do not report errors. -R Recursively descend into directories setting the ownership of all files in each directory encountered. When symbolic links are encountered, their ownership is changed, but they are not traversed. USAGE
See largefile(5) for the description of the behavior of chown when encountering files greater than or equal to 2 Gbyte ( 2^31 bytes). FILES
/etc/passwd Password file ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWscpu | +-----------------------------+-----------------------------+ SEE ALSO
chgrp(1), chown(2), group(4), passwd(4), attributes(5), largefile(5), privileges(5) SunOS 5.11 21 Jun 2004 chown(1B)
All times are GMT -4. The time now is 05:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy