01-11-2010
Quote:
Originally Posted by
scottn
Also, and I don't know much about ACL's (so I won't go there), but would't directory permissions also have a part to play?
ACLs can overwrite POSIX if that is what you are asking. Sometimes if your servers are running any kind of directory services and LDAP they will put ACLs in the file system by default, and they will be set by default as what the default settings will most likely be.
I have seen this in OS X and in SuSe Linux, but anything outside of those two I don't have much experience with ACLs.
10 More Discussions You Might Find Interesting
1. Solaris
Hi Folks,
I know that changing users and groups is pretty basic admin, but this one has got me stumped. When I try to change the group of a file for which I am the owner for, it still gives me a 'Not owner' error.
For example, when I am logged in as 'webadmin', I have the following file:
... (4 Replies)
Discussion started by: brizrobbo
4 Replies
2. UNIX for Dummies Questions & Answers
How to set the name of the group and the owner while creation of the file?
-rwxrwxr-x 1 root sys 1202 Dec 5 2002 abc.awk
like here i need to set the name of root and sys to xxx xxx
Any help is appreciated.
Thanks. (2 Replies)
Discussion started by: nehak
2 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I need a command to find a files under particular owner ?All the files in the system for the particular user id is the owner?
Please help me on this? (2 Replies)
Discussion started by: jayaramanit
2 Replies
4. UNIX for Dummies Questions & Answers
Hello,
I have a problem, I need to find files in folder by owner, not using find command at all and ls -R parameter. Thanx a lot.
Best regarts (1 Reply)
Discussion started by: Boliakas
1 Replies
5. Shell Programming and Scripting
i have written a script in which i have to go to a dir and search there for files belonging to owner pipe and then delete them
Can anyone tell me how to find files by owner pipe. below some of the files belonging to owner pipe
-rw------- 1 pipe pipe 163840 Mar 18 2008 ... (7 Replies)
Discussion started by: ali560045
7 Replies
6. Solaris
Where to look owner's configuration files?
For example: -r-xr-xr-x 1 103 staff 2723 Jun 17 1999 user_init
I need to look owner 103 behavior. (3 Replies)
Discussion started by: wolfgang
3 Replies
7. Shell Programming and Scripting
Hi,
Thanks for looking into this.
I am running into below situation in free BSD.
I have a file in /tmp/sample.txt with owner as 'xyz' and group as 'wheel'
I am moving it to my home dir/newsample.txt whihc has owner 'xyz', but group 'someother' with below command, getting warning, but it is... (2 Replies)
Discussion started by: ramanaraoeee
2 Replies
8. Solaris
i need to do the following operations in solaris 10:
1.change owner and group owner for files which are not owned by the current user and user group
2.to can delete files in the /tmp directory which are not of the current user
3. allow to a standard user the deletion of files in the /tmp... (1 Reply)
Discussion started by: sirmark
1 Replies
9. AIX
Dears
it is normal that the below binaries stay without any owner and group
I have checked it in many servers and the like the below
/usr/lpp/bos.net/inst_root/etc/ipsec# ls -lrt
total 248
-r-xr-xr-x 1 987 987 13589 Jun 29 2005 default_group
-r-xr-xr-x ... (5 Replies)
Discussion started by: thecobra151
5 Replies
10. AIX
Hi.
My example:
I have a filesystem /log. Everyday, log files are copied to /log. I'd like to set owner and permission for files and directories in /log like that
chown -R log_adm /log/*
chmod -R 544 /log/*It's OK, but just at that time. When a new log file or new directory is created in /log,... (8 Replies)
Discussion started by: bobochacha29
8 Replies
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)