Sponsored Content
Operating Systems Linux Debian How to enable and use ACL's in Linux Post 302154334 by drl on Saturday 29th of December 2007 08:10:04 AM
Old 12-29-2007
Hi.

Check to see if you have command chacl using:
Code:
whereis chacl
man -k acl

My Debian had these installed. I do not know if all Linux installs will do this for you.

If you see entries for the man pages, then I suggest you read them over.

For example, I don't have an ACL for file t1, so command getfacl reports:
Code:
% getfacl t1
# file: t1
# owner: drl
# group: drl
user::rwx
group::r--
other::r--

If you don't have any of the ACL commands installed, you may need to use your package manager to install them for you. That's a complex issue that will depend on your distribution ... cheers, drl
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how do I enable ssh for RH Linux Enterprise

I am not sure how to enable SSH on my RedHat Linux Server. Do I need to install a rpm or just edit a file. Thanks in advance. (1 Reply)
Discussion started by: newbie05
1 Replies

2. Linux

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, (1 Reply)
Discussion started by: manoj.solaris
1 Replies

3. Linux

Enable sudo for Win AD users authenticated with Linux samba winbind service

Hi everyone, I wonder if anyone ever came across the idea of unifying AD and Linux user accounts We have a Linux machine with 'samba' 'winbind' service configured to let Windows AD users to logon locally using their AD accounts and passwords. I can use 'su' to get to the local user privilege... (0 Replies)
Discussion started by: will_mike
0 Replies

4. UNIX for Advanced & Expert Users

how to enable cygwin in linux server (redHat) ?

how to enable cygwin in linux server (redHat)..... any idea? (1 Reply)
Discussion started by: crackthehit007
1 Replies

5. Solaris

Solaris 8 how do I enable and disable services? (equivalent of chkconfig on Linux)

I've successfully installed syslog-ng and chkconfig using the packages from the OpenCSW project, these packages install under /opt/csw. I now need to disable the default syslog daemon and enable the new service created by the OpenCSW package (/etc/init.d/cswsyslog_ng). Is there any good way to... (3 Replies)
Discussion started by: aussieos
3 Replies

6. Linux

Need assistance to enable more that 4GB RAM on Linux 32Bit OS.

How to enable more than 4GB RAM support on Linux 32bit OS? OS: CentOS release 5.4 (Final) Kernel version: 2.6.18-53.el5 Arch: 32Bit I got solution at Innovationframes.com • View topic - How to enable more than 4GB RAM support on Linux 32bit OS? but my question is the steps given... (5 Replies)
Discussion started by: chandranjoy
5 Replies

7. Linux

ACL

Hi, I want to know what does the "effective" comment means in the output of the getfacl and whether it has to do with the acl mask... thanks (0 Replies)
Discussion started by: Gartlar
0 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. Linux

sticky keys enable in linux

The problem is when i push button on keyboard and stay pressed i get only one letter. I want to set auto repeat of pressed character to get for example pressing a letter 'aaaaaaaaaaaaaa' instead 'a' only??? can you tell us how to enable this feature in linux???? (5 Replies)
Discussion started by: mallikarjun7777
5 Replies

10. 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
ACL_DELETE_ENTRY(3)					   BSD Library Functions Manual 				       ACL_DELETE_ENTRY(3)

NAME
acl_delete_entry -- delete an ACL entry LIBRARY
Linux Access Control Lists library (libacl, -lacl). SYNOPSIS
#include <sys/types.h> #include <sys/acl.h> int acl_delete_entry(acl_t acl, acl_entry_t entry_d); DESCRIPTION
The acl_delete_entry() function removes the ACL entry indicated by the entry_d descriptor from the ACL pointed to by acl. Any existing ACL entry descriptors that refer to entries in acl other than that referred to by entry_d continue to refer to the same entries. The argument entry_d and any other ACL entry descriptors that refer to the same ACL entry are undefined after this function completes. Any existing ACL pointers that refer to the ACL referred to by acl continue to refer to the ACL. RETURN VALUE
The acl_delete_entry() 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
If any of the following conditions occur, the acl_delete_entry() function returns -1 and sets errno to the corresponding value: [EINVAL] The argument acl_p is not a valid pointer to an ACL. The argument entry_d is not a valid pointer to an ACL entry. STANDARDS
IEEE Std 1003.1e draft 17 ("POSIX.1e", abandoned) SEE ALSO
acl_copy_entry(3), acl_create_entry(3), acl_get_entry(3), acl(5) AUTHOR
Derived from the FreeBSD manual pages written by Robert N M Watson <rwatson@FreeBSD.org>, and adapted for Linux by Andreas Gruenbacher <a.gruenbacher@bestbits.at>. Linux ACL March 23, 2002 Linux ACL
All times are GMT -4. The time now is 10:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy