02-22-2009
Humm. As far as I am aware, when you change UGO permissions using chmod or from within an application, the corresponding entry in both a minimum ACL or extended ACL object changes as well - so what you are doing should be unnecessary.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
i have a file a.txt contents as 1,2,3,4,......etc...in a single line, i want to write to another file in rows as
1
2
3
4
5
can u help?
i do not know the length of a.txt (4 Replies)
Discussion started by: pravfraz
4 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I have several text files each containing some data as shown below:
File1.txt
>DataHeader
Data...
Data...
File2.txt
>DataHeader
Data...
Data...
etc.
What I want is to change the 'DataHeader' based on the file name. So the output should look like:
File1.txt
>File1
... (1 Reply)
Discussion started by: Fahmida
1 Replies
3. Emergency UNIX and Linux Support
Hi guys,
There is a line in squid default configuration:
# Deny CONNECT to other than secure SSL ports
http_access deny CONNECT !SSL_ports
acls are applied from top down, so CONNECT acl will deny access to all non SSL and SSL ports. I mean it never reaches the second access rule. (0 Replies)
Discussion started by: majid.merkava
0 Replies
4. Red Hat
Afternoon all,
This should be a simple task.
I have set up default acls on a directory to allow user user1 to read it. This directory is owned by root:root.
setfacl -d -m u:user1:rx /directory
I also did via the group.
This works fine, new files made by root are readable.
... (4 Replies)
Discussion started by: snoop6060
4 Replies
5. Solaris
Hi,
Does anyone know a way of making vim preserve ZFS NFSv4 ACLS?
Without disabling file backups in vim that is.
Thanks in advanced. (10 Replies)
Discussion started by: akame
10 Replies
6. UNIX for Advanced & Expert Users
Hi everybody
As the title says I wonder if the usual (in my case Ubuntu 14.04 LTS) linux installation root does in fact uses any of the ACLs possible extensions in any of its files/dirs
I ask this because I usually use tar to backup the entire root (in offline) with a command like this (root... (2 Replies)
Discussion started by: man-walking
2 Replies
7. Red Hat
Hello experts,
I would like to know if is possible to create a default acl rule to a directory.
in this directory all files created should have executable permissions by the group IT.
i tried setfacl -m d:g:it:rwx /files
tried to change the mask setfacl -m m::rwx /files
but i still... (3 Replies)
Discussion started by: berveglieri
3 Replies
8. Red Hat
I work on a distribution application on Linux which generates bulk reference data extract feeds and stores them on a Linux server. I have several consumer applications access the files stored on this Linux server using FTPS protocol. However in order for consumer applications to have access to... (2 Replies)
Discussion started by: waavman
2 Replies
9. AIX
Hi,
I need to grant read permission to a normal user on sulog file on AIX 6.1.
As root I did acledit sulog and aclget shows "extended permissions" as "enabled" and normal user "splunk" has read permissions. When I try to access sulog as splunk user it won't allow and aclget for splunk user... (6 Replies)
Discussion started by: prvnrk
6 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)