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


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users How UNIX admin set up this? how files of 744 of other owner can be removed by another owner?
# 15  
Old 01-18-2010
Thanks Ceubank for the reply.

Actually I'd like to say sorry for dragging so many people into this...I just found out the directory owner was changed to the userid just one second before that I did the delete, that's why I got the impression why I could delete someone else's file without the permission being set...that was silly I should have checked back the dir permission first for the doubt.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

How to set owner and permission for files/directory in directory in this case?

Hi. My example: I have a filesystem /log. Everyday, log files are copied to /log. I'd like to set owner and permission for files and directories in /log like that chown -R log_adm /log/* chmod -R 544 /log/*It's OK, but just at that time. When a new log file or new directory is created in /log,... (8 Replies)
Discussion started by: bobochacha29
8 Replies

2. AIX

Files without owner and group

Dears it is normal that the below binaries stay without any owner and group I have checked it in many servers and the like the below /usr/lpp/bos.net/inst_root/etc/ipsec# ls -lrt total 248 -r-xr-xr-x 1 987 987 13589 Jun 29 2005 default_group -r-xr-xr-x ... (5 Replies)
Discussion started by: thecobra151
5 Replies

3. Solaris

Privileges : modify dir/file owner by other that's not owner

i need to do the following operations in solaris 10: 1.change owner and group owner for files which are not owned by the current user and user group 2.to can delete files in the /tmp directory which are not of the current user 3. allow to a standard user the deletion of files in the /tmp... (1 Reply)
Discussion started by: sirmark
1 Replies

4. Shell Programming and Scripting

mv warning set owner/group: Operation not permitted

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

5. Solaris

Where to look owner's configuration files?

Where to look owner's configuration files? For example: -r-xr-xr-x 1 103 staff 2723 Jun 17 1999 user_init I need to look owner 103 behavior. (3 Replies)
Discussion started by: wolfgang
3 Replies

6. Shell Programming and Scripting

find files by OWNER

i have written a script in which i have to go to a dir and search there for files belonging to owner pipe and then delete them Can anyone tell me how to find files by owner pipe. below some of the files belonging to owner pipe -rw------- 1 pipe pipe 163840 Mar 18 2008 ... (7 Replies)
Discussion started by: ali560045
7 Replies

7. UNIX for Dummies Questions & Answers

Find files by owner

Hello, I have a problem, I need to find files in folder by owner, not using find command at all and ls -R parameter. Thanx a lot. Best regarts (1 Reply)
Discussion started by: Boliakas
1 Replies

8. UNIX for Dummies Questions & Answers

command to find the files under particular owner

Hi, I need a command to find a files under particular owner ?All the files in the system for the particular user id is the owner? Please help me on this? (2 Replies)
Discussion started by: jayaramanit
2 Replies

9. 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

10. Solaris

Owner of file gets 'not owner' error for chgrp

Hi Folks, I know that changing users and groups is pretty basic admin, but this one has got me stumped. When I try to change the group of a file for which I am the owner for, it still gives me a 'Not owner' error. For example, when I am logged in as 'webadmin', I have the following file: ... (4 Replies)
Discussion started by: brizrobbo
4 Replies
Login or Register to Ask a Question
nsg_set(3)						     Library Functions Manual							nsg_set(3)

NAME
nsg_set - Set NUMA Scheduling Group owner and permissions (libnuma library) SYNOPSIS
#include <numa.h> int nsg_set( nsgid_t nsg, nsgid_ds_t *attrib ); PARAMETERS
Specifies the NUMA Scheduling Group (NSG). Points to a structure containing owner and permission attributes. DESCRIPTION
The nsg_set() function sets the NSG owner IDs (user ID and group ID) and permissions (mode) by using the nsgid_ds structure pointed to by attrib. RESTRICTIONS
The effective user ID of the calling process must be equal to the value of nsg_perm.cuid or nsg_perm.uid in the associated nsgid_ds struc- ture, or the calling process must have write permissions to the NSG. RETURN VALUES
Success. In this case, nsg_set() set the NSG owner IDs and permissions as specified. Failure. In this case, errno is set to indicate the error. ERRORS
If the nsg_set() function fails, it sets errno to one of the following values for the specified condition: The calling process does not have write permission. The attrib argument specifies an invalid address. The nsg argument does not specify a valid NSG ID. SEE ALSO
Functions: nsg_attach_pid(3), nsg_init(3), numa_intro(3) Files: numa_types(4) nsg_set(3)