Sponsored Content
Full Discussion: Unix Permissions
Top Forums UNIX for Dummies Questions & Answers Unix Permissions Post 302432380 by varunrbs on Friday 25th of June 2010 01:12:56 AM
Old 06-25-2010
Required entries

The relevent entries from the files are-

/etc/passwd

Code:
oracle:x:100:200::/opt/oracle:/usr/bin/ksh
norkadm:x:1209:502:Norkom Admin:/home/norkadm:/usr/bin/ksh



/etc/group

Code:
norkgrp::9002:norkadm,oracle
connectd::300:fstfbth1,fstfbth2,fstfbth3,fstfbth4,fstfbth5,fstfbth6,fstfbth7,norkadm
rbsusers::502: prodops,oracle,frewind,greenaw,fstfbth1
oinstall::203: oracle
dba::200:

 

9 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

How to change permissions in UNIX?

I want to change a file permission which just I can list , read, and write it. So, does anybody can tell me the command? (2 Replies)
Discussion started by: a8111978
2 Replies

2. UNIX for Dummies Questions & Answers

Unix permissions

I am currently running jsp pages on unix server. At the top of my page is the import statement: <%@ page import="survey.*"%>. This imports the survey folder which i have placed in the same directory as my jsp page- jsp-servlet. However, when i try to run the page, its gives me an error saying that... (2 Replies)
Discussion started by: moukoko
2 Replies

3. UNIX for Advanced & Expert Users

UNIX File Permissions

Hello, What does the following mean in terms of file permissions. -rw-rwSrw- 1 owner group 999 May 25 2004 file_name What does the "S" stand for. Thanks in advance for your input. :) (3 Replies)
Discussion started by: jerardfjay
3 Replies

4. Solaris

Unix permissions

Is anyone aware of a tool that would produce a report or an extract file of all users, the files thry are allowed to access and their associated rights permitted (Read,Write etc.) (0 Replies)
Discussion started by: mobershaw
0 Replies

5. UNIX for Dummies Questions & Answers

Unix chmod permissions

Hello all, Trying to do the following. 1. Run Windows installer from a unix server. 2. Let user run the shortcut but not allow access to the folder where the exe itself is running. What I have done so far: 1. Copied the application to the server and placed in a folder called "data".... (2 Replies)
Discussion started by: whiterabbit
2 Replies

6. UNIX for Dummies Questions & Answers

Unix permissions for a newbie

Okay, this may turn out to be something quite simple, but I haven't found the answer so far: 1) Is it possible to retrieve a list of user(ID) file permissions? and then... 2) What is the most efficient way to create an alert/error message when/if those file permissions are denied? ... (2 Replies)
Discussion started by: hades1013
2 Replies

7. UNIX for Dummies Questions & Answers

unix directory permissions

Hi All I am using cygwin and if i type ls -l it is giving like drwxr-xr-x+ for directories. My question is what is the meaning of '+' sign at the end? its not giving that '+' sign for files. Thank you (1 Reply)
Discussion started by: Usha Shastri
1 Replies

8. Shell Programming and Scripting

Unix File Permissions

I want to change one of my Dir permissions to drwx--S--- Can you tell me which number i have to use. Thanks in Advance (4 Replies)
Discussion started by: veeru
4 Replies

9. Tips and Tutorials

Unix File Permissions

Introduction I have seen some misinformation regarding Unix file permissions. I will try to set the record straight. Take a look at this example of some output from ls: $ ls -ld /usr/bin /usr/bin/cat drwxrwxr-x 3 root bin 8704 Sep 23 2004 /usr/bin -r-xr-xr-x 1 bin bin ... (6 Replies)
Discussion started by: Perderabo
6 Replies
ACL_SET_TAG_TYPE(3)					   BSD Library Functions Manual 				       ACL_SET_TAG_TYPE(3)

NAME
acl_set_tag_type -- set the tag type of an ACL entry LIBRARY
Standard C Library (libc, -lc) SYNOPSIS
#include <sys/types.h> #include <sys/acl.h> int acl_set_tag_type(acl_entry_t entry_d, acl_tag_t tag_type); DESCRIPTION
The acl_set_tag_type() function is a POSIX.1e call that sets the ACL tag type of ACL entry entry_d to the value of tag_type. Valid values are: ACL_USER_OBJ Permissions apply to file owner ACL_USER Permissions apply to additional user specified by qualifier ACL_GROUP_OBJ Permissions apply to file group ACL_GROUP Permissions apply to additional group specified by qualifier ACL_MASK Permissions specify mask ACL_OTHER Permissions apply to other ACL_OTHER_OBJ Same as ACL_OTHER ACL_EVERYONE Permissions apply to everyone@ Calling acl_set_tag_type() with tag_type equal to ACL_MASK, ACL_OTHER or ACL_OTHER_OBJ brands the ACL as POSIX.1e. Calling it with ACL_EVERYONE brands the ACL as NFSv4. RETURN VALUES
The acl_set_tag_type() function returns the value 0 if successful; otherwise the value -1 is returned and the global variable errno is set to indicate the error. ERRORS
The acl_set_tag_type() function fails if: [EINVAL] Argument entry_d is not a valid descriptor for an ACL entry. Argument tag_type is not a valid ACL tag type. ACL is already branded differently. SEE ALSO
acl(3), acl_get_brand_np(3), acl_get_tag_type(3), posix1e(3) STANDARDS
POSIX.1e is described in IEEE POSIX.1e draft 17. HISTORY
POSIX.1e support was introduced in FreeBSD 4.0. The acl_set_tag_type() function was added in FreeBSD 5.0. AUTHORS
The acl_set_tag_type() function was written by Chris D. Faulhaber <jedgar@fxp.org>. BSD
June 25, 2009 BSD
All times are GMT -4. The time now is 01:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy