10 More Discussions You Might Find Interesting
1. Red Hat
Hi,
I have three servers,For 3 servers how i can take output,all the local accounts and details of whether the access is Root or User access.
cheers (1 Reply)
Discussion started by: ranjithm
1 Replies
2. Homework & Coursework Questions
good evening .. I have a plea, who I can help me with a management application user rights on the files in a Unix / Linux
I need for college .. .. and not told us no clue .. thank you (1 Reply)
Discussion started by: alex90
1 Replies
3. UNIX for Dummies Questions & Answers
Dears,
I want to add a user and give him rights only for a spesific folder and take the files via ftp. The user shouldn't see the other files above or belov his folder.
lets say I have "user".
my directories:
/a
/b/d
/c
when I connect to the system I want this "user" to connect... (3 Replies)
Discussion started by: hubatuwang
3 Replies
4. Shell Programming and Scripting
Hi,
I would like to retrieve a list of user ids on an AIX server along with the access rights that each id has? Can someone please help me on how this can be achieved?
Gayathri (3 Replies)
Discussion started by: ggayathri
3 Replies
5. Red Hat
well hi to all
The thing is I need to allow particular site to just one or 2 user
not to everybody. Can anybody tell me how do i do it. If i put there
ip in exception then whole Restriction would be bypassed which i dont
want. Your Responses would be highly appreciated
THANKS in ADVANCE (0 Replies)
Discussion started by: achtani_jeetu
0 Replies
6. UNIX for Dummies Questions & Answers
Hello Guru,
I have very unique requirement , need some help.
I have one folder created in one the server A. In this folder , the file getting uploaded from some java based page.
then i am calling scp through key file, which works fine in another folder of server B.
Currently , what i am... (2 Replies)
Discussion started by: u263066
2 Replies
7. UNIX for Advanced & Expert Users
Hello all,
I am currently writing an application that besides other thing ,ftps files from remote machines (running linux and solaris). My problem is this: i am connecting to remote machines as a user other than root and i have found that there is a possibility that i will encounter folders with... (3 Replies)
Discussion started by: noam128
3 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I want to execute a customised process like rating engine using a shell script from a directory other than the directory where the customizes process is placed.
I have tried it in the following way...and faced a issue
when shell script is available in directory /dir1/ and customized... (1 Reply)
Discussion started by: vkishore.btw
1 Replies
9. UNIX for Dummies Questions & Answers
Hi,
Is it true that if I am not the root I can not select access permissions to a file that I own so that my friend (who also isn't the root) can access that file?
And is it true that the only way to accomplish it is to ask the root to "put" my friend into "my" group? Then I could simply set... (1 Reply)
Discussion started by: rudo
1 Replies
10. HP-UX
I wan to create a user e.g. Tom. whenever a file is created by user Tom or FTP is done using user as Tom, the rights on the file should be 777 (by default). how can I achieve this. Please help. Its very urgent. (1 Reply)
Discussion started by: sharmavr
1 Replies
LFC-GETACL(1) LFC User Commands LFC-GETACL(1)
NAME
lfc-getacl - get LFC directory/file access control lists
SYNOPSIS
lfc-getacl [-a] [-d] path...
DESCRIPTION
lfc-getacl gets the Access Control List associated with a LFC directory/file. For each path, it displays the file name, owner, the group,
and the Access Control List (ACL) if present. If a directory has a default ACL, lfc-getacl also displays the default ACL. Regular files
cannot have default ACLs.
The output looks like:
# file: filename
# owner: username
# group: groupname
user::perm
user:uid:perm
group::perm
group:gid:perm
mask:perm
other:perm
default:user::perm
default:user:uid:perm
default:group::perm
default:group:gid:perm
default:mask:perm
default:other:perm
The first "user" entry gives the permissions granted to the owner of the file. The following "user" entries show the permissions granted
to specific users, they are sorted in ascending order of uid. The first "group" entry gives the permissions granted to the group owner of
the file. The following "group" entries show the permissions granted to specific groups, they are sorted in ascending order of gid. The
"mask" entry is the maximum permission granted to specific users or groups. It does not affect the "owner" and "other" permissions. The
"mask" entry must be present if there are specific "user" or "group" entries. "default" entries associated with a directory are inherited
as access ACL by the files or sub-directories created in that directory. The umask is not used. Sub-directories also inherit the default
ACL as default ACL. As soon as there is one default ACL entry, the 3 default ACL base entries (default user, default group, default other)
must be present.
The entry processing conforms to the Posix 1003.1e draft standard 17.
path specifies the LFC pathname. If path does not start with /, it is prefixed by the content of the LFC_HOME environment variable.
uid is displayed as the username if known else as the numeric id.
gid is displayed as the groupname if known else as the numeric id.
perm is expressed as a combination of characters rwx-
OPTIONS
-a only display the access ACL.
-d only display the default ACL.
EXAMPLES
lfc-getacl /grid/atlas/test/file.log/d2
# file: /grid/atlas/test/file.log/d2
# owner: baud
# group: c3
user::rwx
group::r-x #effective:r-x
other::r-x
default:user::rwx
default:group::r-x
default:other::r-x
EXIT STATUS
This program returns 0 if the operation was successful or >0 if the operation failed.
SEE ALSO
Castor_limits(4), lfc_chmod(3), lfc_chown(3)
AUTHOR
LCG Grid Deployment Team
LFC
$Date: 2005/03/02 08:32:12 $ LFC-GETACL(1)