a) You have a read-only filesystem
b) selinux is tut-tutting at you.
c) There are ACLs in place, like there seem to be:
The dot at the end of the filemode display is indicative of ACLs (access control lists) being in place for this file. Please report the output of the aclget [/path/to/]security command.
Hi,
When I listed one directory in Sun, it showed that :
-rwsr-xr-x 1 root bsmbin 78004 Oct 21 2004 bsmprsm
I don't know meaning of the character "s" in "rws" above. I have searched in Sun admin documents but no result. Would you please explain it ? :)
Thank you so much. (1 Reply)
Hello,
i need some help/advice on how to solve a particular problem.
these are the users:
|name | group |
---------- ---------------
|boss | department1 |
|assistant | department1 |
|employee | department1 |
|spy | department2 |
this is the... (0 Replies)
Hali All,
I have a big problem. (REDHAT) I have a logrotate definition for wtmp:
/var/log/wtmp {
monthly
minsize 1M
create 0644 root utmp
rotate 9
}
There is a line for create the file with 0644 permission. If I run the definition manually it works as well, but when... (2 Replies)
Hi ! all I am just trying to check range in my datafile
pls tell me why its resulting wrong
admin@IEEE:~/Desktop$ cat test.txt
0 28.4
5 28.4
10 28.4
15 28.5
20 28.5
25 28.6
30 28.6
35 28.7
40 28.7
45 28.7
50 28.8
55 28.8
60 28.8
65 28.1... (2 Replies)
hi,
I am trying to get the FileType using the File command. I have one file, which holds Group separator along with ASCII character.
It's a Text file.
But when I ran the File command the FileType is coming as "data".
It should be "ASCII, Text file".
Is the latest version of File... (6 Replies)
Hello,
I am having problem while redirecting output to a file where as on console output is proper.
for dir in */; do printf "%s, " "$dir"; ls -m "$dir"; echo; done > output.txt
Output of above command is coming in single line but when i am redirecting output to a file, single line i... (10 Replies)
Hi All,
We are working on solaris 10.
I create a file using touch command and when list the file, it does not shows the right timestamp.
... (4 Replies)
Gurus,
I have a data file which has a certain number of columns say 101. It has one description column which contains foreign characters and due to this some times, those special characters are translated to new line character and resulting in failing the process.
I am using the following awk... (4 Replies)
Discussion started by: tumsri
4 Replies
LEARN ABOUT HPUX
lsacl
lsacl(1) General Commands Manual lsacl(1)NAME
lsacl - list access control lists (ACLs) of files
SYNOPSIS
file...
DESCRIPTION
lists access control lists (ACLs) of one or more files in symbolic, ``short'' form, one file's ACL per line of output, followed by the file
name; see acl(5) for ACL syntax.
Options
recognizes the following option:
Print ACLs in long form. Each file's ACL can be more than one line long, and is always preceded by file name, colon, and newline.
Consecutive file names are separated by blank lines.
If a hyphen is given as a file name argument, prints the ACL for the standard input. By default, it prints the file name as For the option
it prints a file name of
Unlike cannot list ACLs of files in subdirectories automatically or list the ACL entries of the files in the current directory by default.
A good way to do the latter is:
or
EXTERNAL INFLUENCES
Environment Variables
determines the language in which messages are displayed.
If is not specified or is set to the empty string, a default of "C" (see lang(5)) is used instead of If any internationalization variable
contains an invalid setting, behaves as if all internationalization variables are set to "C". See environ(5).
RETURN VALUE
If succeeds, it returns zero. If invoked incorrectly, it returns a value of If is unable to read the ACL for a specified file, it prints
an error message to standard error, continues, and later returns a value of
EXAMPLES
List the ACL for the file
List ACLs for all files in the current directory, in long form.
List ACLs for all files under
DEPENDENCIES
will fail when the target file resides on a file system which does not support ACLs.
NFS:
is not supported on remote files.
AUTHOR
was developed by HP.
SEE ALSO chacl(1), getaccess(1), ls(1), getacl(2), acl(5).
lsacl(1)