Sponsored Content
Full Discussion: Problem with tar on RHEL5.8
Operating Systems Linux Red Hat Problem with tar on RHEL5.8 Post 302829589 by prinsh on Friday 5th of July 2013 08:37:27 AM
Old 07-05-2013
Thanks for the reply..I really appreciate it.
I tried to the command with and without --acls option, and neither of it helped.
I am still getting the same error. I am more confused as the its just the warning: cannot acl from text and doesn't return and further info.

I have checked for the permissions on the file when it was successfully untar'd and there are differences in the permission and accesscontrol list for the users on the files.

Please suggest something.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Tar Problem

I need to do a bakcup for some files, in the same tape but in diferente time.... at 9am i need the file /public/test1.txt then... tar -cvf /dev/st0 /public/test1.txt at 12pm i need the file /public/test2.txt the.... tar ¿? /public/test2.txt in this point i have problem beacuse when... (3 Replies)
Discussion started by: sokobans
3 Replies

2. UNIX for Advanced & Expert Users

tar problem

I am using a tar command to backup my system. It works properly. I have had some trouble and I need to restore a few files. I am using the following command : tar xvf /dev/rmt2h myfile_to_restore The tar command seemd to work but after a long time I got the following error message :... (6 Replies)
Discussion started by: renard
6 Replies

3. Shell Programming and Scripting

tar doubts - problem with tar

The below tar command works fine for me, tar -cvf - `find ./srcdir -type d` | (cd ./destdir ; tar -xvf - ) but this version is giving error to me: cd ./srcdir && tar -cf - . | gzip -9 | cd ../destdir && gzip -d | tar -xf - error is: gzip: compressed data not read from a terminal.... (2 Replies)
Discussion started by: royalibrahim
2 Replies

4. UNIX for Dummies Questions & Answers

tar -cvf test.tar `find . -mtime -1 -type f` only tar 1 file

Hi all, 4 files are returned when i issue 'find . -mtime -1 -type f -ls'. ./ora_475244.aud ./ora_671958.aud ./ora_934052.aud ./ora_934050.aud However, when I issued the below command: tar -cvf test.tar `find . -mtime -1 -type f`, the tar file only contains the 1st file -... (2 Replies)
Discussion started by: ahSher
2 Replies

5. Linux

RHEL5 Kickstart Problem... HELP!

Folks, Im hoping you guys can help me. Here is a description of what I have going on. Fresh VM, trying to run a Kickstart Install on it for RHEL5. I am looking to access the kickstart file through nfs. I boot from a local ISO image and everything goes fine, I get to the boot prompt and enter... (3 Replies)
Discussion started by: mkono
3 Replies

6. Red Hat

RHEL5 Kickstart NFS & DHCP Problem

I just finished setting up a Kickstart Server for our RHEL 5 installs. It's configured to use the PXE boot and NFS for the installation. Everything works fine when I just build one machine at a time. The installation works from begining to end. But when I try the install three machines at... (5 Replies)
Discussion started by: apfistler
5 Replies

7. Red Hat

RHEL5 - desktop problem

hi all, any one has occured below issue before? i login to RHEL 5 using user name root. howver, after logged, nothing displayed on desktop, total was empty on desktop. some more, right click mouse right button, no such options to choose. any one has this issue before? any idea to... (3 Replies)
Discussion started by: maxlee24
3 Replies

8. Ubuntu

Problem with tar

Hello everyone, I´ve got a problem when I try to untar a file. The following errors appear: tar: Skipping to next header tar: Skipping to next header tar: Exiting with failure status due to previous errors Can anyone help me? Thanks in advance! (1 Reply)
Discussion started by: katkat
1 Replies

9. Shell Programming and Scripting

tar command to explore multiple layers of tar and tar.gz files

Hi all, I have a tar file and inside that tar file is a folder with additional tar.gz files. What I want to do is look inside the first tar file and then find the second tar file I'm looking for, look inside that tar.gz file to find a certain directory. I'm encountering issues by trying to... (1 Reply)
Discussion started by: bashnewbee
1 Replies

10. Red Hat

DB2 ODBC connectivity problem in RHEL5 32 bit

Hi, I installed Db2 9.7 on RHEL5 32bit . Instance Name is db2inst1 amd in that i created database as mydb. I exported env variables for classpath ,db2dir,db2instance LD_LIBRARY_PATH ,PATH ,ODBC, ODBCHOME ,ODBCINI My application needs ODBC connectivity and so I modified odbc.ini file . ... (0 Replies)
Discussion started by: roopalidalvi231
0 Replies
DACSACL(1)						       DACS Commands Manual							DACSACL(1)

NAME
dacsacl - list, check, or re-index access control rules SYNOPSIS
dacsacl [dacsoptions[1]] [-build | -nobuild] [-vfs vfs_uri] [...] [op-spec] [acl-name...] DESCRIPTION
This program is part of the DACS suite. The dacsacl utility performs administrative functions related to access control, such as: o validating the syntax of ACL files (parsing the XML and DACS expressions); o checking that the revocation list (VFS type revocations) exists and performing a syntax check on it; o creating an index (a directory data structure, as an XML file) of access control files; and o listing and deleting access tokens in the authorization cache (refer to dacs_acs(8)[2]). Please refer to dacs.acls(5)[3] for details about how access control rule files are named. Important Version 1.4.21 introduced important changes to the way DACS processes access control files, introducing incompatibilities with earlier releases. Please pay special attention to the -convert and -build flags. Most importantly, after adding, deleting, or editing an access control file the ACL index must be regenerated. This can be done simply by running dacsacl with no arguments. Notes o So that it can be run as part of the installation procedure, dacsacl does not require dacs.conf to exist. If it does exist, however, it must be readable and syntactically correct. o The program emits a warning message if it finds different ACL files that contain identical url_pattern (or url_expr) attributes. It does not detect pairs of these attributes that are equivalent, however; in general, it is not possible to do so because the actual specifications used to match against a service request are not known until run time. Two or more service elements should never apply to the same service request (other than through wildcard matching) and the result of authorization testing with such rules is indeterminate. o The dacs_admin(8)[4] web service provides some of the same functionality as dacsacl. OPTIONS
In addition to the standard dacsoptions[1], dacsacl recognizes these options: -build Index rebuilding is done by default with most modes of operation, but it can be explicitly requested with this flag. -nobuild Suppress index rebuilding. -vfs vfs_uri This flag, which may be repeated, causes vfs_uri to be defined as if by a VFS[5] directive, overriding any existing definition. This can be used to specify an alternate location for the item types acls or dacs_acls, for instance. As a special case, if acls (dacs_acls) is defined using this flag but not dacs_acls (acls), then only the former's index will be rebuilt. This option can be useful in conjunction with the -un[1] flag so that indexes can be generated before a jurisdiction has been configured. The optional op-spec describes one of the following operations: -convert This flag is used to convert from the older rule processing scheme (pre-1.4.21) to the current scheme. It should only be needed by installations that are using custom rules (i.e., those other than the standard rules for DACS web pages and web services). Note that in some cases (described below) conversion is not fully automated, so the administrator may need to do some additional work. -- This flag is a no-op that is used to prevent any following argument from being interpreted as a flag or operation. -f file [...] Each file argument is the pathname of an ACL file or a directory containing ACL files. Since ACL files can be organized using a directory structure, directories are checked recursively. -l List the full URI of each access control rule in the virtual filestore for item types acls and dacs_acls. No error checking is performed. -s List the name (sans prefixes) of each access control rule in the virtual filestore for item types acls and dacs_acls. No error checking is performed. -tc Clean up the authorization cache by deleting expired or otherwise invalid entries. Note: since there may not be any concurrency control in effect, this should probably not be done while DACS could be writing to the file. -td # ... Delete one or more authorization cache entries by giving their integer listing number (starting at 1, as produced by the -tl flag). Note: since there may not be any concurrency control in effect, this should probably not be done while DACS could be writing to the file. -tl List the entries in the authorization cache. -tt Truncate the authorization cache, effectively deleting everything in the cache. This is not currently implemented; in the meantime, simply delete the file or database, or copy /dev/null to it. If one or more acl-name arguments appear they are interpreted as ACL files accessed through DACS's virtual filestore using item types acls and dacs_acls (both are checked). The applicable DACS configuration for the item type determines how an acl-name will be accessed. Note that acl-name must be the actual filename. If no op-spec or acl-name is specified, dacsacl will examine all ACL files configured for the appropriate DACS jurisdiction. EXAMPLES
The following command checks all of the access control rules belonging to the jurisdiction associated with dss.example.com: % dacsacl -u dss.example.com -v Checking: /usr/local/dacs/federations/dss/acls/acl.2 Checking: /usr/local/dacs/federations/dss/acls/acl.3 Checking: /usr/local/dacs/federations/dss/acls/acl.4 Checking: /usr/local/dacs/acls/acl-auth.0 (Note: duplicate keys for "acl-auth.0" and "acl-conf.0") Checking: /usr/local/dacs/acls/acl-conf.0 (Note: duplicate keys for "acl-conf.0" and "acl-dacs.0") Checking: /usr/local/dacs/acls/acl-dacs.0 (Note: duplicate keys for "acl-dacs.0" and "acl-passwd.0") Checking: /usr/local/dacs/acls/acl-passwd.0 (Note: duplicate keys for "acl-passwd.0" and "acl-stddocs.0") Checking: /usr/local/dacs/acls/acl-stddocs.0 Updated rule: [acls]dacs-fs:/usr/local/dacs/conf/acls/acl-abc.0 Updated rule: [acls]dacs-fs:/usr/local/dacs/conf/acls/acl-accounts.0 ... Built index for "acls": 44 rules Updated rule: [dacs_acls]dacs-fs:/usr/local/dacs/acls/acl-admin.0 Updated rule: [dacs_acls]dacs-fs:/usr/local/dacs/acls/acl-auth-agent.0 ... Built index for "dacs_acls": 14 rules 58 ACL files were checked (OK) Note While it is not an error for access control rules to have the same numeric suffix, because the suffix partly determines the order in which roles are processed, using equal suffix values accidentally may have unintended results. The following command checks only one access control rule belonging to the jurisdiction associated with dss.example.com: % dacsacl -u dss.example.com -v acl.2 Checking: /usr/local/dacs/federations/dss/acls/acl.2 1 ACL file was checked (OK) DIAGNOSTICS
The program exits 0 if everything was fine, 1 if an error occurred. SEE ALSO
dacsvfs(1)[6], dacs.acls(5)[3], dacs_acs(8)[7], dacs_admin(8)[4], dacs_vfs(8)[8] AUTHOR
Distributed Systems Software (www.dss.ca[9]) COPYING
Copyright2003-2012 Distributed Systems Software. See the LICENSE[10] file that accompanies the distribution for licensing information. NOTES
1. dacsoptions http://dacs.dss.ca/man/dacs.1.html#dacsoptions 2. dacs_acs(8) http://dacs.dss.ca/man/dacs_acs.8.html#authorization_caching 3. dacs.acls(5) http://dacs.dss.ca/man/dacs.acls.5.html 4. dacs_admin(8) http://dacs.dss.ca/man/dacs_admin.8.html 5. VFS http://dacs.dss.ca/man/dacs.conf.5.html#VFS 6. dacsvfs(1) http://dacs.dss.ca/man/dacsvfs.1.html 7. dacs_acs(8) http://dacs.dss.ca/man/dacs_acs.8.html 8. dacs_vfs(8) http://dacs.dss.ca/man/dacs_vfs.8.html 9. www.dss.ca http://www.dss.ca 10. LICENSE http://dacs.dss.ca/man/../misc/LICENSE DACS 1.4.27b 10/22/2012 DACSACL(1)
All times are GMT -4. The time now is 07:35 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy