Sponsored Content
Full Discussion: setting acl on linux
Operating Systems Linux setting acl on linux Post 302132084 by manoj.solaris on Wednesday 15th of August 2007 08:32:55 AM
Old 08-15-2007
Question setting acl on linux

Hi,

while setting access control list I am getting error "Operation NOt Supported"
Example :user A wants full access on test directory /home/user B/test, I dont want to add in secondary group bcz group has read permission,
 

10 More Discussions You Might Find Interesting

1. Cybersecurity

setting ACL's

Hi all, How can I set default owning user and default owning group with setfacl on Solaris 2.6 and up ? My idea is, that when a file is created by user x, and the default owning user is y, the ownership is set to y. This option is visible in the filemanager, though not editable. I can't find... (5 Replies)
Discussion started by: andy_kann
5 Replies

2. UNIX for Advanced & Expert Users

Setting up Linux as a RAS - is is possible?

I need to setup my Linux Server as a RAS, does anyone know how to do it? I have just spent all my money on my hardware setupand an ADSL line, things where I live are VERY expensive. I need to setup my RedHat 7.3 server to be a RAS for myself and my business partner, can anyone please redirect me... (7 Replies)
Discussion started by: leonpmu
7 Replies

3. AIX

setting acl

Hi, I want to know how to set acl in aix via smitty and shell prompt, wheather we needs to install additional packages. (0 Replies)
Discussion started by: manoj.solaris
0 Replies

4. UNIX for Dummies Questions & Answers

setting up ACL in Apache

Folks; How can i setup ACL in Apache so i can give a group of users (defined by their emails (all users under *@red.com) access to a web page? (10 Replies)
Discussion started by: moe2266
10 Replies

5. Debian

How to enable and use ACL's in Linux

Hi, How to enable and use ACL's in linux. Thx, siva. (2 Replies)
Discussion started by: Sivaswami
2 Replies

6. Shell Programming and Scripting

setting account (linux)

hi How can I set an account so that it expires at a particular date? (6 Replies)
Discussion started by: tjay83
6 Replies

7. UNIX for Dummies Questions & Answers

Setting up Linux.

Dear Administrators and Moderators, Normally I use Windows for browsing net, but few days back my pc was affected with virus. One of my friend suggested me to use Linux for safe browsing. I would like to know 1. I have Mandrake 8.2(HDD) and Obuntu 9.x(CD) - which one is better (have limited... (1 Reply)
Discussion started by: kesari
1 Replies

8. Windows & DOS: Issues & Discussions

Linux mount cifs with Windows ACL support

I'm in the process of migrating my windows file servers to a Ubuntu Samba server. My plan is to use cp -Rp to copy all the mounted files to the proper directory on my Ubuntu server. I can mount them just fine but if I run getfacl against a mounted directory its not showing any of my Windows... (0 Replies)
Discussion started by: binary-ninja
0 Replies

9. Emergency UNIX and Linux Support

Linux ACL issue

Hi All, I have an issue with linux acls, though I have implemented them I failed to foresee the issue.Now the server is in production and I would have to take down time to rectify it. And I hereby declare that this is not homework. The situation is as such I have a file system mounted with... (5 Replies)
Discussion started by: maverick_here
5 Replies

10. UNIX for Beginners Questions & Answers

Help setting ACL's

Folks, Solaris 10 issue When I add a new directory to a path, I only get the "group@" line in the ACL The parent directory ACL is drwxrws---+ 12 root teama 12 Jul 18 10:31 . owner@:rwxp-DaARWc---:------:allow group@:rwxp-DaARWc--s:fd----:allow ... (0 Replies)
Discussion started by: wilberforce
0 Replies
ACCESS(2)						      BSD System Calls Manual							 ACCESS(2)

NAME
access -- check access permissions of a file or pathname LIBRARY
Standard C Library (libc, -lc) SYNOPSIS
#include <unistd.h> int access(const char *path, int mode); DESCRIPTION
The access() function checks the accessibility of the file named by path for the access permissions indicated by mode. The value of mode is the bitwise inclusive OR of the access permissions to be checked (R_OK for read permission, W_OK for write permission and X_OK for exe- cute/search permission) or the existence test, F_OK. All components of the pathname path are checked for access permissions (including F_OK). The real user ID is used in place of the effective user ID and the real group access list (including the real group ID) are used in place of the effective ID for verifying permission. If a process has super-user privileges and indicates success for R_OK or W_OK, the file may not actually have read or write permission bits set. If a process has super-user privileges and indicates success for X_OK, at least one of the user, group, or other execute bits is set. (However, the file may still not be executable. See execve(2).) RETURN VALUES
If path cannot be found or if any of the desired access modes would not be granted, then a -1 value is returned; otherwise a 0 value is returned. ERRORS
Access to the file is denied if: [EACCES] Permission bits of the file mode do not permit the requested access, or search permission is denied on a component of the path prefix. The owner of a file has permission checked with respect to the ``owner'' read, write, and execute mode bits, members of the file's group other than the owner have permission checked with respect to the ``group'' mode bits, and all others have permissions checked with respect to the ``other'' mode bits. [EFAULT] path points outside the process's allocated address space. [EIO] An I/O error occurred while reading from or writing to the file system. [ELOOP] Too many symbolic links were encountered in translating the pathname. [ENAMETOOLONG] A component of a pathname exceeded {NAME_MAX} characters, or an entire path name exceeded {PATH_MAX} characters. [ENOENT] The named file does not exist. [ENOTDIR] A component of the path prefix is not a directory. [EROFS] Write access is requested for a file on a read-only file system. [ETXTBSY] Write access is requested for a pure procedure (shared text) file presently being executed. SEE ALSO
chmod(2), execve(2), stat(2), secure_path(3) STANDARDS
The access() function conforms to ISO/IEC 9945-1:1990 (``POSIX.1''). SECURITY CONSIDERATIONS
The access() system call is a potential security hole due to race conditions. It should never be used. Set-user-ID and set-group-ID appli- cations should restore the effective user or group ID, and perform actions directly rather than use access() to simulate access checks for the real user or group ID. The access() system call may however have some value in providing clues to users as to whether certain operations make sense for a particular filesystem object. Arguably it also allows a cheaper file existence test than stat(2). BSD
May 3, 2010 BSD
All times are GMT -4. The time now is 08:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy