Sponsored Content
Full Discussion: file permission 000
Top Forums UNIX for Dummies Questions & Answers file permission 000 Post 302148588 by porter on Monday 3rd of December 2007 01:34:56 AM
Old 12-03-2007
Quote:
Originally Posted by zedex
i think no one can read the file.
root can read and write it. It would not surprise me if root could execute it as well.
 

6 More Discussions You Might Find Interesting

1. News, Links, Events and Announcements

Microsoft "Donates" $3,000,000,000 to Feds

Surreal quote from the news link below: http://www.washingtonpost.com/wp-dyn/articles/A44615-2002Nov12.html (0 Replies)
Discussion started by: Neo
0 Replies

2. Shell Programming and Scripting

Fastest way to list a file in a folder containing 800,000 files using wildcard

Hi, I have a directory with possibly around 800,000 files in it. What is the fastest way to list file(s) in this directory with a wildcard. for example would ls -1 *.abcdefg.Z or find . -name "*.abcdefg.Z" be the fastest way to find all of the files that end with .abcdefg.Z... (6 Replies)
Discussion started by: jerardfjay
6 Replies

3. UNIX for Advanced & Expert Users

speed test +20,000 file existance checks too slow

Need to make a very fast file existence checker. Passing in 20-50K num of files In the code below ${file} is a file with a listing of +20,000 files. test_speed is the script. I am commenting out the results of <time test_speed try>. The normal "test -f" is much much too slow when a system... (2 Replies)
Discussion started by: nullwhat
2 Replies

4. Programming

Unix File has 000 access when written

Good day! I would just like to ask about an issue I encountered. There is a Java program (version1.3) that we use that is hosted in Unix (HP-UX B.11.11 U), and one of its functions copies a file and writes it to another directory. It usually runs fine, but one day, it wrote a file that had 000... (2 Replies)
Discussion started by: mike_s_6
2 Replies

5. Shell Programming and Scripting

Can root user run chmod 000 permission shell script?

Hi, I have a shell script file which is set to access permission 000. When I login as root (sudo su) and try to run this script, I am getting the Permission denied error. I have read somewhere that root admin user can execute any kind of permission script. Then why this behavior? However, I can... (1 Reply)
Discussion started by: royalibrahim
1 Replies

6. Shell Programming and Scripting

Listing 000 permission files

Hi all, is there a way to list all files with 000 permission and not get "Permission denied" message? I would like to have names of all those files in one text file. At the moment, i have this " find . -type d \( -name . -o -prune \) -perm 000 > text.txt " and it is not working. Can... (8 Replies)
Discussion started by: bb2
8 Replies
cimauth(8)																cimauth(8)

NAME
cimauth - add, modify, remove, or list CIM namespace authorizations of users SYNOPSIS
cimauth -a -u username -n namespace [ -R ] [ -W ] cimauth -m -u username -n namespace [ -R ] [ -W ] cimauth -r -u username [ -n namespace ] cimauth -l cimauth -h cimauth --help cimauth --version DESCRIPTION
The cimauth command manages read and write CIM namespace authorizations of users. The operations are executed on the local host by submit- ting requests to the CIM Server. If the value of the configuration property enableNamespaceAuthorization is True , the CIM Server restricts access to namespaces based on user authorizations configured via cimauth . Changes to "Dynamic" authorization parameters does not require the CIM Server to be restarted. "Non Dynamic" configuration properties (E.g. enableNamespaceAuthorization ) can only be set as planned configuration and the CIM Server needs to be restarted to realize the change. (See cimconfig (8) for information on configuring the CIM Server.) Options The cimauth command recognizes the following options: -a Adds read and/or write authorizations to the specified user on the specified namespace. If neither the -R nor the -W option is specified, adds a read authorization by default. -h, --help Display command usage information. -l Lists all the authorizations configured in the CIM Server. -m Modifies authorizations of the specified user on the specified namespace. If neither the -R nor the -W option is specified, modifies the authorization to be a read authorization by default. -n namespace Specifies the R namespace for the operation. -r Removes authorizations of the specified user on the specified namespace. If no namespaces are specified, removes authorizations on all namespaces for the specified user. -R Specifies read authorization on the namespace. -u username Specifies the user for the operation. The specified R username must represent a valid user on the local host. --version Display CIM Server version number. -W Specifies write authorization on the namespace. EXIT STATUS
When an error occurs, an error message is written to stderr and an error value of 1 is returned. The following return values are returned: 0 Successful completion 1 Error USAGE NOTE
The cimauth command requires that the CIM Server is running. EXAMPLES
Add read authorizations to user "guest" on namespace "root/cimv2". cimauth -a -u guest -n root/cimv2 -R Add read and write authorizations to user "guest" on namespace "root/system". cimauth -a -u guest -n root/system -R -W Modify authorizations of the user "guest" on namespace "root/system" to read only. cimauth -m -u guest -n root/system -R Remove the authorizations of the user "guest" on namespace "root/system". cimauth -r -u guest -n root/system List all the authorizations configured in the CIM Server. cimauth -l SEE ALSO
cimserver(8), cimconfig(8). cimauth(8)
All times are GMT -4. The time now is 09:51 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy