Sponsored Content
Full Discussion: Unix Permissions
Top Forums UNIX for Dummies Questions & Answers Unix Permissions Post 302432088 by varunrbs on Thursday 24th of June 2010 12:26:39 AM
Old 06-24-2010
Unix Permissions

We have a user group ‘norkgrp’ which is having 2 users ‘norkadm’ and ‘oracle’.

Further we have a directory ‘fstf_blobs’ where ‘norkadm’ is the owner and ‘norkgrp’ is the group owner. The permission is set as 770.
Code:
[norkadm /opt/norkom/rbs/tpf]$ ls -lrt
drwxrwx---   2 norkadm  norkgrp     1024 Jun 24 05:03 fstf_blobs

We are writing some files in this directory through UTL_FILE functionality of oracle. The owner of files created through UTL_FILE is ‘oracle’ and group owner is ‘dba’. However the procedure gives error when trying to write the files. (Permission issues). As norkgrp is the group owner and ‘oracle’ is part of this group and group is having all permissions, I am not able to understand the reason of the error.

When the change permission of this directory to 777 (others also given all permissions) the procedure runs successfully and creates files with owner as ‘oracle’ and group owner as ‘dba’.

Can somebody have a look & explain.

Last edited by Franklin52; 06-26-2010 at 02:53 PM.. Reason: Remove fonts
 

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(2)								System Calls Manual							    acl(2)

NAME
acl() - set a file's Access Control List (ACL) information (JFS File Systems only) SYNOPSIS
DESCRIPTION
The system call is used to manipulate ACLs on JFS file system objects. pathp points to a path name naming a file. nentries specifies how many ACL entries are pointed to by aclbufp. aclbufp is a pointer to the first element of an array of This type is defined in as follows: The values for are: Permissions for the owner of the object. Permissions for additional users. Permissions for members of the owning group of the object. Permissions for members of additional groups. Maximum permissions granted to the file group class. Permissions for other users. Default permissions for the object owner. Default permissions for additional users. Default permissions for members of the owning group of the object. Default permissions for members of additional groups Default maximum permissions granted to the file group class. Default permissions for other users. cmd The following values for cmd are available: nentries ACL entries, specified in buffer aclbufp, are stored in the file's ACL. Any existing ACL on the file is replaced by the new ACL. All directories in the path name must be searchable. Buffer aclbufp is filled with the file's ACL entries. Discretionary read access to the file is not required, but all directo- ries in the path name must be searchable. The number of entries in the file's ACL is returned. Discretionary read access to the file is not required, but all directories in the path name must be searchable. For command the call will succeed if and only if all of the following are true: There is exactly one entry each of type and If pathp points to a directory, there is at most one entry each of type and Entries of type or do not contain duplicate entries. A duplicate entry is one of the same type containing the same numeric ID. If the ACL contains no entries of type and no entries of type then the entries of type and have the same permissions. If the ACL contains no entries of type and no entries of type and an entry of type is specified, then an entry of type is also spec- ified and the two entries have the same permissions. Security Restrictions The value for cmd can only be executed by a process that has an effective user ID equal to the owner of the file, or by the superuser, or by a user with the privilege. See privileges(5) for more information about privileged access on systems that support fine-grained privileges. RETURN VALUE
returns the following values: n Successful completion. Returns the number of ACL entries for cmd and Successful completion. Returns for cmd Failure. is set to indicate the error. ERRORS
If fails, the ACL is unchanged, and is set to one of the following values: The caller does not have access to a component of the path name. cmd is not or cmd is and nentries is less than the number of mandatory ACL entries(4). cmd is and the ACL specified in aclbufp is not valid [see above discussion, and aclsort(3C)]. A disk I/O error has occurred while storing or retrieving the ACL. cmd is and the effective user ID of the caller does not match the owner of the file, and the caller is not the superuser or a user with privilege. A component of the path does not exist. cmd is and nentries is less than the number of entries in the file's ACL. cmd is and there is insufficient space to store the ACL. cmd is and nentries is greater than which is defined in A component of the path specified by pathp is not a directory. cmd is and an attempt is made to set a default ACL on a file type other than a directory. cmd is the file specified by pathp resides on a local non-JFS file system, and additional entries were specified in the ACL. cmd is the file specified by pathp resides on a non-local file system, and additional entries were specified in the ACL. cmd is and the file specified by pathp resides on a file system that is mounted read-only. aclbufp points to an illegal address. SEE ALSO
aclsort(3), getacl(1), setacl(1), privileges(5). acl(2)
All times are GMT -4. The time now is 08:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy