The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > Filesystems, Disks and Memory
Google UNIX.COM


Filesystems, Disks and Memory Questions involving NAS, SAN, RAID, Robotic Libraries, backups, etc go here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Privacy-Preserving Audit and Extraction of Digital Contents iBot UNIX and Linux RSS News 0 05-01-2008 05:00 PM
Privacy-Preserving Audit and Extraction of Digital Contents iBot UNIX and Linux RSS News 0 04-22-2008 01:40 AM
Preserving space during command substitution Sabari Nath S UNIX for Dummies Questions & Answers 1 10-04-2005 06:16 AM
while read loop preserving leading whitespace zazzybob Shell Programming and Scripting 3 06-07-2004 02:36 PM
Moving .html files while preserving hyperlink integrity? Buddy123 UNIX for Dummies Questions & Answers 1 12-21-2000 11:59 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-05-2002
Registered User
 

Join Date: Nov 2001
Posts: 6
Preserving Ownership w/tar

I'm trying to make a backup of a directory tree on Solaris 8. I'm doing this with my own ID, not root. The problem I am running into is when I extract the archive, all files are owned by me and the group is my default group. The man page lists this as the default behavior when executed by a non-root user.

Are there any options that I can use to override this behavior (to create the files with their original owners and groups)? If not, are there any other tools available with Solaris that would allow me to accomplish this?
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 02-05-2002
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,189
You cannot take preserve certain permissions (such as root) as a non root user. There are numerous security reasons for this limitation for non-privileged users in a multi-user enviroment such as UNIX.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 08:43 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0