Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dpns-rm(1) [debian man page]

DPNS-RM(1)							DPNS User Commands							DPNS-RM(1)

NAME
dpns-rm - remove DPNS files or directories in the name server SYNOPSIS
dpns-rm [-f] [-i] filename... dpns-rm [-f] [-i] -r dirname... DESCRIPTION
dpns-rm removes DPNS files or directories in the name server. For directories either -r or -R must be present. For regular files, it calls dpns_unlink while for directories, it calls dpns_rmdir. This requires write permission in the parent directory and the file itself. If write permission on an entry is denied, the standard input is a terminal and the -f option is not given, the prompt "override write protection" appears and if the response is not y, the entry is not deleted. Entries directly under a protected directory are never deleted. path specifies the DPNS pathname. If path does not start with /, it is prefixed by the content of the DPNS_HOME environment variable. OPTIONS
The following options are supported: -f Do not give an error message if the file/directory does not exist. -i Request acknowledge before removing each individual entry. -R Recursive mode (equivalent to -r). -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), dpns_rmdir(3), dpns_unlink(3) AUTHOR
LCG Grid Deployment Team DPNS
$Date: 2002/10/18 11:57:00 $ DPNS-RM(1)

Check Out this Related Man Page

DPNS-CHGRP(1)							DPNS User Commands						     DPNS-CHGRP(1)

NAME
dpns-chgrp - change group ownership of a DPNS directory/file in the name server SYNOPSIS
dpns-chgrp [-h] [-R] group path... DESCRIPTION
dpns-chgrp sets the group ownership of a DPNS directory/file in the name server to the value of group. 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. group is either a valid group name or a valid numeric ID. path specifies the DPNS pathname. If path does not start with /, it is prefixed by the content of the DPNS_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), dpns_chown(3), Cupvlist(1) AUTHOR
LCG Grid Deployment Team DPNS
$Date: 2007/01/13 10:35:39 $ DPNS-CHGRP(1)
Man Page

14 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Multiple protected directories

This may have a simple answer, but I have not been able to find it! I need to have 20 protected directories. Each directory having a unique user with access. I need to have a main link on the web page that requests the username and password. Once entered it eill send the user to their... (2 Replies)
Discussion started by: ericg
2 Replies

2. Filesystems, Disks and Memory

Recursive file processing

I'm developing a generic script to catenate all files found in a given directory. The problem I've got is that the depth of the given directory is unknown, so I end up with some catenated directories. My unix isn't that hot and I'm at a loss. Heres an extract from the script cd $1 for i in... (4 Replies)
Discussion started by: k_mufasa
4 Replies

3. UNIX for Advanced & Expert Users

Number of open files (Dir's) how to close?

I am having a client/server application which will download files from server. If server has directories, it will create directories/sub directories and then download files. In this process, I observed that number of open files are more than 400 (which is approxmately same as number of dir/subdir... (1 Reply)
Discussion started by: satyam90
1 Replies

4. Shell Programming and Scripting

matching the content of two files in different directories

hi I need to match the content of two files in different directories line by linee. if match not found then make the entry in log file. (2 Replies)
Discussion started by: manish.s
2 Replies

5. UNIX for Dummies Questions & Answers

How to find out in which directories a user can write?

Hi everybody, what command can show me the directories in which a certain user can write to? Kind Regards FranzB (2 Replies)
Discussion started by: FranzB
2 Replies

6. Shell Programming and Scripting

Recursive functions in Unix

Hi Guys, Is there a way to write a recursive function in unix? Thanks for your help in advance, Regards, Magesh. (1 Reply)
Discussion started by: mac4rfree
1 Replies

7. Shell Programming and Scripting

Giving write permission to multiple directories

Hi, i am having following directory structure Folder1 -> Folder2 -> Folder3 Folder4 Folder5 Now i am at top level and want to assign write permission to all the folder & files in it. i am... (3 Replies)
Discussion started by: sarbjit
3 Replies

8. UNIX for Dummies Questions & Answers

Recursive remove files with exception

Hi, I want to remove a directory recursively except the inside directories calles .SYNC (designsync dirs) I am looking for something like: \rm -rf < find . * | grep -v .SYNC The find works ok but I do not know how to redirect it. Please help. Regards, Ziv (1 Reply)
Discussion started by: zivsegal
1 Replies

9. Shell Programming and Scripting

How to list Matching Directories OR NULL w/o error message?

I want to be able to get all the directories in a path into a variable array, BUT if there ARE NO directories I want the Variable to be NULL and not echo any error message! If there ARE directories, this will get the list of the directories whose name begins with the string "20":... (6 Replies)
Discussion started by: pgorbas
6 Replies

10. UNIX for Dummies Questions & Answers

Recursive file organization?

Does anyone have any idea of how I can make something like the code below run recursively? I'll run it on a tree of directories all with different names and all containing a sequence of .dpx files. I've tried to do it using find and exec but can't get it to work right. What it needs to do is... (4 Replies)
Discussion started by: scribling
4 Replies

11. Shell Programming and Scripting

Recursive file processing from a path and printing output in a file

Hi All, The script below read the path and searches for the directories/subdirectories and for the files. If files are found in the sub directories then read the content of the all files and put the content in csv(comma delimted) format and the call the write to xml function to write the std... (1 Reply)
Discussion started by: Optimus81
1 Replies

12. UNIX for Dummies Questions & Answers

Recursive Find on file size

Is there a way to use the find command to recursively scan directories for files greater than 1Gb in size and print out the directory path and file name only? Thanks in advance. (6 Replies)
Discussion started by: jimbojames
6 Replies

13. UNIX for Dummies Questions & Answers

Recursive remove files

(8 Replies)
Discussion started by: spirospap
8 Replies

14. Solaris

Giving read write permission to user for specific directories and sub directories.

I have searched this quite a long time but couldn't find the right method for me to use. I need to assign read write permission to the user for specific directories and it's sub directories and files. I do not want to use ACL. This is for Solaris. Please help. (1 Reply)
Discussion started by: blinkingdan
1 Replies