Sponsored Content
Top Forums UNIX for Advanced & Expert Users Permissions for Renaming a File vs Directory Post 302387014 by zaxxon on Thursday 14th of January 2010 09:13:05 AM
Old 01-14-2010
Just tested this out of curiosity on my Debian Linux box and it works even for the directory. Same on AIX 5.3. Maybe it is special on your type of Unix derivative or Linux distribution.
Maybe tell us your OS type so some user with access to the same can confirm this.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

determine owner directory permissions from within the directory

From within a directory, how do I determine whether I have write permission for it. test -w pwd ; echo ? This doesn't work as it returns false, even though I have write permission. (4 Replies)
Discussion started by: Sniper Pixie
4 Replies

2. Shell Programming and Scripting

How can we change the permissions of a file in a directory

Hi All, I am trying to wite a Shell script which changes the permission of the files in a folder but stuck at a particular point,please help. The scenario is as follwoing: I am having a list of 10 files and a folder which has 100 files. I need to copare the list and the folder ,for... (4 Replies)
Discussion started by: Sriram.Vedula53
4 Replies

3. Shell Programming and Scripting

Copying subdirectories of a directory to some other directory and renaming them

Hi, I am a newbie in shell scripting. I have to copy a particular sub-directory (data) from a large no. of directories (all in the same folder) and paste them to another directory ( /home/hubble/data ) and then rename all the subdirectories (data) as the name of its parent directory. please... (8 Replies)
Discussion started by: sholay
8 Replies

4. UNIX for Dummies Questions & Answers

Setting default directory file permissions and ownership help

I'm trying to setup a directory structure for my staff which enables them full access to files in the directories with their name, and have access to anything in the shared directory. The directory structure looks like this: root@www10 # ls -l total 56 drwxr-xr-x 7 internal internal 4096... (3 Replies)
Discussion started by: v_greg
3 Replies

5. UNIX for Dummies Questions & Answers

Multiple groups in directory / file permissions

Hi I need to permit one group to have r-x permissions on all files in a directory and another group to have just read access, im confused how to do this as if i set the 'Other' permission class as read access then all users will have access to them. So basically i have a directory which the... (2 Replies)
Discussion started by: m3y
2 Replies

6. Shell Programming and Scripting

Checking directory permissions on UNIX directory

Hi, How do i check if I have read/write/execute rights on a UNIX directory? What I'm doing is checking read access on the files but i also want to check if user has rights on the direcory in whcih these files are present. if then...... And I check if the directory exists by using... (6 Replies)
Discussion started by: chetancrsp18
6 Replies

7. UNIX for Dummies Questions & Answers

Permanent file permissions within a directory

Hi All, I have an ftp process that is connecting to a Solaris server and pushing files into a directory. The default file permissions are rw-r--r-- . I want the file permissions to be rw-rw-r--. How can I configure the directory so any file created there will have the permissions... (6 Replies)
Discussion started by: rob4732
6 Replies

8. UNIX for Beginners Questions & Answers

Override a file in directory with no permissions

Hi, I am performing unit testing in an unix environment. i have read access to all the files in this environment, but i can't copy any files from my home directory to test environment. Is there any way i can override files in testing environment. What is the command to override a file in... (1 Reply)
Discussion started by: surendra.88
1 Replies

9. Shell Programming and Scripting

Copying files to a directory, renaming it if a file with the same name already exists

Hi All, I need to copy files from one directory to another with the files to be renamed while copying if a file with the same name already exists in the target directory. THanks, Dev (2 Replies)
Discussion started by: dev.devil.1983
2 Replies

10. UNIX for Beginners Questions & Answers

Renaming the file names in a directory

Hi, I have about 60 files in a directory and need to rename those files. For example the file names are i_can_phone_yymmdd.txt (where yymmdd is the date. i.e 170420 etc) i_usa_phone_1_yymmdd.txt i_eng_phone_4_yymmdd.txt The new file names should be phone.txt phone_1.txt phone_4.txt I am... (4 Replies)
Discussion started by: naveed
4 Replies
BLAS-TEST(1)						     Linux Programmer's Manual						      BLAS-TEST(1)

NAME
x{s,d,c,z}c?blat{1,2,3} - testing programs for blas SYNOPSIS
x{s,d,c,z}c?blat1 x{s,d,c,z}c?blat{2,3} < parameter file DESCRIPTION
This manual page documents briefly the blas testing programs. This manual page was written for the Debian GNU/Linux distribution because the original programs do not have manual pages. blas is a library of Basic Linear Algebra routines, accessed through either a Fortran and/or a C interface. These routines are categorized into three levels: level1 referring to vecotr-vector operations, level2 to matrix-vector operations, and level3 to matrix-matrix opera- tions. In addition, all routines are written in four "precisions", single precision real (s), double precision real (d), cingle precision complex (c), and double precision complex (z). The testing binaries examine routines in the level indicated by the last character in the program name and in the precision indicated by the second character in the program name. The stem "blat" in the program name refers to a Fortran interface tester, whereas a "cblat" stem refers to a C interface tester. The test programs for levels 2 and 3 read a set of parameters specifying the problem ranges to examine on standard input. Sample input files are found in /usr/share/doc/blas-test/examples. Files of the form {s,d,c,z}in{2,3} are input files for the C interface testing pro- grams, while files or the form {s,d,c,z}blat{2,3}d are input files to the Fortran testing programs. On Debian systems, these programs are dynamically linked against the blas library. This enables the user to test and compare alternate versions of the library, such as those provided by atlas, through the use of the LD_LIBRARY_PATH and LD_PRELOAD environment variables. One can confirm the versions of the libraries being tested in a given environment with the aid of the ldd program. OPTIONS
These programs take no command line options. AUTHOR
This manual page was written by Camm Maguire <camm@enhanced.com>, for the Debian GNU/Linux system (but may be used by others). netlib January 29, 2002 BLAS-TEST(1)
All times are GMT -4. The time now is 01:47 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy