The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > Filesystems, Disks and Memory
.
google unix.com



Filesystems, Disks and Memory Discuss NAS, SAN, RAID, Robotic Libraries, backups, RAM, DRAM, SCSI, IDE, EIDE topics 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 08:00 PM
Privacy-Preserving Audit and Extraction of Digital Contents iBot UNIX and Linux RSS News 0 04-22-2008 04:40 AM
Preserving space during command substitution Sabari Nath S UNIX for Dummies Questions & Answers 1 10-04-2005 09:16 AM
while read loop preserving leading whitespace zazzybob Shell Programming and Scripting 3 06-07-2004 05:36 PM
Moving .html files while preserving hyperlink integrity? Buddy123 UNIX for Dummies Questions & Answers 1 12-21-2000 03:59 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-05-2002
bergerj3 bergerj3 is offline
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?
  #2 (permalink)  
Old 02-05-2002
Neo's Avatar
Neo Neo is offline Forum Staff  
Administrator
  
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 6,522
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.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 08:16 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0