Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

lfc-chown(1) [debian man page]

LFC-CHOWN(1)							 LFC User Commands						      LFC-CHOWN(1)

NAME
lfc-chown - change owner and group of a LFC directory/file in the name server SYNOPSIS
lfc-chown [-h] [-R] owner[:group] path... lfc-chown [-h] [-R] :group path... DESCRIPTION
lfc-chown sets the owner and/or the group of a LFC directory/file in the name server to the values in owner and group respectively. To change the owner ID, if the group ID does not change and if the caller and the new owner ID belong to that group, GRP_ADMIN privilege is needed, otherwise the caller must have ADMIN privilege in the Cupv database. To change the group ID, the effective user ID of the process must match the owner ID of the file and the new group must be in the list of groups the caller belong to or the caller must have ADMIN privilege in the Cupv database. owner is either a valid username or a valid numeric ID. group is either a valid group name or a valid numeric ID. path specifies the LFC pathname. If path does not start with /, it is prefixed by the content of the LFC_HOME environment variable. OPTIONS
The following options are supported: -h If path is a symbolic link, changes the ownership of the link itself. -R Recursive mode. EXIT STATUS
This program returns 0 if the operation was successful or >0 if the operation failed. SEE ALSO
Castor_limits(4), lfc_chown(3), Cupvlist(1) AUTHOR
LCG Grid Deployment Team LFC
$Date: 2007/01/15 08:05:17 $ LFC-CHOWN(1)

Check Out this Related Man Page

LFC-MKDIR(1)							 LFC User Commands						      LFC-MKDIR(1)

NAME
lfc-mkdir - make LFC directory in the name server SYNOPSIS
lfc-mkdir [-m mode] [-p] path... DESCRIPTION
lfc-mkdir creates the specified LFC directories in the name server. This requires write permission in the parent directory. The owner ID and group ID of the new directories are set to the requestor's real user ID and group ID, respectively. path specifies the LFC pathname. If path does not start with /, it is prefixed by the content of the LFC_HOME environment variable. The lfc-mkdir command has the following options: -m specifies the mode to be used. Default mode is 777. -p creates all the non-existing parent directories first. The mode set for the created intermediate directories is the logical differ- ence between 0777 and the user umask but at least 0300. EXIT STATUS
This program returns 0 if the operation was successful or >0 if the operation failed. SEE ALSO
Castor_limits(4), lfc_chmod(3), lfc_mkdir(3), lfc_umask(3) AUTHOR
LCG Grid Deployment Team LFC
$Date: 2001/10/04 12:12:54 $ LFC-MKDIR(1)
Man Page

14 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How do I change security on a file or directory?

What command(s) do I use to change the security on a file? I need to change the owner as well as read write end execute options. (5 Replies)
Discussion started by: ekkehard
5 Replies

2. UNIX for Dummies Questions & Answers

Can't change owner and group of a linux file

Hi, I don't know how the owner & group of a login file in redhat linux 7.2 changed to bache like, -rwxr-xr-x 1 bache bache 17740 Jun 20 02:05 login I am trying to change the owner and group to root by using #chown root login #chgrp root login But i am getting the error ... (7 Replies)
Discussion started by: bache_gowda
7 Replies

3. UNIX for Dummies Questions & Answers

Change owner

How to change the owner of group? -rw-r--r-- 1 lead lead Now I need to change LEAD to SUBLEAD.. how do I do this. I am using this command. $chown -R sublead test.lck I get this message chown: test.lck: Not owner I am logged in a LEAD.. All your help in regards are greatly... (16 Replies)
Discussion started by: venkyA
16 Replies

4. UNIX for Advanced & Expert Users

chown doesn't work

Hi unix gurus, I am facing problem with chown command. I am not able to change the owner of any file in my home. It gives error "not owner", though I own the file(as ls shows). What could be the reason? Is it possible that usage chown can be disabled for users. $ $ ls -l total 2... (10 Replies)
Discussion started by: shriashishpatil
10 Replies

5. UNIX for Dummies Questions & Answers

I am the owner,yet not allowed the change the ownership

sm860 IS the owner of the files below,but yet sm860 cannot change the ownership to bpt3a1.Please let me know why ? See below for details --- sm860@unixs741_DEV:/usr/gdp/home/ftp/bpt3a1/incoming/ahdb/T5/pcasav/daily $ ls -l pcasav* -rw-r--r-- 1 sm860 gdpintegrators 821 Sep 21 16:15... (8 Replies)
Discussion started by: MSHETTY
8 Replies

6. Shell Programming and Scripting

Scripting Newbie

Seems simple but I am having difficulty with this one: I am trying to write a single command line argument (which will be a path) - the program should print out the owner of the path. I can not get anything I write to run. Please help. (5 Replies)
Discussion started by: Kymmers7
5 Replies

7. Shell Programming and Scripting

change owner

Dear All, i have a file and i want to change the owner of that file from another user. for example $ ls -l pkc.txt -rw-r--r-- 1 tdmscrdr dba 717 Nov 2 17:10 pkc.txt the owner of pkc.txt file is tdmscrdr and group is dba i want to change the owner of this file from... (7 Replies)
Discussion started by: panknil
7 Replies

8. UNIX for Dummies Questions & Answers

OS X - problems reassigning rights to new shortname

I work in an Active Directory environment, and we just hired a new person. However, the manager spellt her name wrong, so I have to set up her user account all over again. Apple has this solution in their knowledge base (a bunch of other steps are involved that aren't pertinent here): chown... (8 Replies)
Discussion started by: riptorn41
8 Replies

9. Solaris

change permissons and owner for /tmp (swapfs)

Hi all, i've an Solaris 10 installation. The owner and permissions for /tmp is: # ls -l /tmp # rwxr-xr-x root root /tmp They should be (i've looked at a clean installation): # rwxrwxrwt root sys /tmp I've tried to change the permissons after booting from cd and mounting the root... (10 Replies)
Discussion started by: DukeNuke2
10 Replies

10. Web Development

ftp: missing chown command

hi, I'm connecting to a web server with ftp protocol and I would like to change some folders and files owner. I tried chown but it is not available. I typed "help" and this is the list I got. Is possible that the chown command is not installed on the server ? Or I don't have permissions ?... (8 Replies)
Discussion started by: aneuryzma
8 Replies

11. UNIX for Dummies Questions & Answers

How to display only Owner and directory/sub directory names under particular root

hai, I am new to Unix, I have a requirement to display owner name , directory or sub directory name, who's owner name is not equal to "oasitqtc". (here "oasitqtc" is the owner of the directory or sub directory.) i have a command (below) which will display all folders and sub folders, but i... (6 Replies)
Discussion started by: gagan4599
6 Replies

12. Solaris

Changing file/directory owner

Hi , I want to change owner of files or folder from 23186 to dsadm, Present ------- -rw-r--r-- 1 23186 gdstage 10240 Oct 31 2007 BLTRS drwxrwxrwx 3 23186 gdstage 512 Sep 1 2010 sql Required as ----------- -rw-r--r-- 1 dsadm gdstage 10240 Oct 31 2007 BLTRS drwxrwxrwx 3 dsadm gdstage... (6 Replies)
Discussion started by: sridhardwh
6 Replies

13. Emergency UNIX and Linux Support

To identify the group owner

If I have to identify the group owner of an AIX group, what is the command to be used. Example: there is an mqadm group, how do I find the owner of this group? Please help. (6 Replies)
Discussion started by: ggayathri
6 Replies

14. Shell Programming and Scripting

List files whose owner or group is numeric

I want to add a condition is my find command to include files/sub-directory whose owner or group is all numeric number. My current find command is find . \( -user root -o -user soham\) -type f -exec ls -l {} \; 2>&1 ---------- Post updated at 10:20 AM ---------- Previous update was at... (5 Replies)
Discussion started by: Soham
5 Replies