Full Discussion: how to backup with ACL
Top Forums UNIX for Dummies Questions & Answers how to backup with ACL Post 80235 by larryase on Thursday 4th of August 2005 02:34:12 PM
how to backup with ACL

Hello All,

I just inherent a new server with RedHat AS4 and ACL file system. Iím new to ACL and was trying to dump the system for backup and got errors that the ACL inodes would not be backed up. I have tried different command for backup such as star pax but found that there is a limitation of file size. I use to just do a dump of the partition to a file. I would like to know how everyone is doing backup that keeps the ACL tables intact for system recovery. Smilie

Thanks All
Test Your Knowledge in Computers #543
Difficulty: Easy
A global variable can be accessed and referenced on every line of code.
True or False?

10 More Discussions You Might Find Interesting

1. Cybersecurity


Hi all, I've just been handled the responsibility for a FTP-site. Having no experiens of UNIX at all. And now one of my users needs to have full access to the usr directory and all it's subdirectories, don't know why just trying to do what the boss tells me. The type of UNIX is FreeBSD and the... (4 Replies)
Discussion started by: -tri-
4 Replies

2. UNIX for Dummies Questions & Answers

ACL vs privileges

Hello genius..! what do y'all think of these questions...? help appreciated...! Access Control Lists and privileges.... # Why both file ACLs and user permissions/privileges (not to be confused with rights in ACLs) are used in Windows access control (why not just use one of these)? # In... (1 Reply)
Discussion started by: heroine
1 Replies

3. Linux


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

4. Solaris


Can i get the synopsis for add multiple users in single command for ACL access for a directory or a file thanks in advance dinu (3 Replies)
Discussion started by: dinu
3 Replies

5. Shell Programming and Scripting

rsync backup mode(--backup) Are there any options to remove backup folders on successful deployment?

Hi Everyone, we are running rsync with --backup mode, Are there any rsync options to remove backup folders on successful deployment? Thanks in adv. (0 Replies)
Discussion started by: MVEERA
0 Replies

6. UNIX for Advanced & Expert Users

Need assistance on ACL

Hi Friends, I went through the ACL threads that were posted in the past but none were matching to my requirement . Hence starting a new thread . Challenge : user : a group : Test1 user: b group: Test2 Say under user a i create dir /tmp/debug with the privilege of 755 and also... (3 Replies)
Discussion started by: leobreaker
3 Replies

7. UNIX for Dummies Questions & Answers

ACL concept

Hi.. Could someone explain about setfacl,getfacl in unix and its uses. Regards, Suresh (1 Reply)
Discussion started by: suresh sunkara
1 Replies

8. Solaris

ACL on the Solaris

we have two Solaris 10 servers with same configuration and settings. We have hard mounted the NFS with the version 4. In one of the server the newer ACL commands are working fine (chmod and ls -v) whereas in another only posix (getfacl and setfacl alone is working) when we try ls -V in in that... (13 Replies)
Discussion started by: sathishbabu89
13 Replies

9. 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

10. UNIX for Beginners Questions & Answers

How to apply acl?

hi, i am facing problem with acls, as a root i logged in and applied acl for directory(dir5),by using command setfacl -m u:user1:rwx dir5 but when i logged in as user1 i am not able to access that folder even though i applied full permission to that directory as a root.can any one help me on... (2 Replies)
Discussion started by: cmanoj489
2 Replies
acl_valid(3)						     Library Functions Manual						      acl_valid(3)

acl_valid - Checks an ACL for validity LIBRARY
Security Library (libpacl.a) SYNOPSIS
#include <sys/acl.h> int acl_valid( acl_t acl_d, acl_entry_t *entry_p); PARAMETERS
Specifies the working storage internal representation of an ACL. Pointer to the location that holds a returned ACL entry. DESCRIPTION
NOTE: This function is based on Draft 13 of the POSIX P1003.6 standard. The acl_valid() function checks the ACL for validity. An ACL is invalid if one or more of the following conditions are violated: The three required entries (ACL_USER_OBJ, ACL_GROUP_OBJ, and ACL_OTHER_OBJ) must appear exactly once in an ACL of type ACL_TYPE_ACCESS, and in a non- empty ACL of type ACL_TYPE_DEFAULT or ACL_TYPE_DEFAULT_DIR. The ACL must not contain a duplicate entry. An entry is duplicated if another entry in the same ACL has the same entry tag type and the same tag qualifier (sameness or difference in permissions is not relevant). RETURN VALUES
Upon successful completion, the acl_valid() function returns a value of 0 (zero). Otherwise, a value of -1 is returned, and the errno global variable is set to indicate the error. ERRORS
For the following condition, the acl_valid() function sets the location specified by the entry_p parameter with the value of the ACL entry for which one or more duplicates exist elsewhere in the ACL. The ACL contains entries that are not unique. For the following conditions, the acl_valid() function sets the location indicated by the entry_p parameter to the NULL value. The acl_d parameter does not refer to a valid ACL. One or more of the required entries is not present. RELATED INFORMATION
acl_create_entry(3), acl_init(3), acl_get_fd(3), acl_get_file(3), acl_set_fd(3), acl_set_file(3), acl(4) Security delim off acl_valid(3)

Featured Tech Videos

All times are GMT -4. The time now is 03:27 AM.
Unix & Linux Forums Content Copyright 1993-2019. All Rights Reserved.
Privacy Policy