[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::digital_unix

Title:DIGITAL UNIX(FORMERLY KNOWN AS DEC OSF/1)
Notice:Welcome to the Digital UNIX Conference
Moderator:SMURF::DENHAM
Created:Thu Mar 16 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:10068
Total number of notes:35879

9917.0. "TAR COMMAND IN DUNIX V 4.0B." by BARNA::DSMAIL () Thu May 22 1997 03:56

    There is a customer that use the command TAR to do copies of the
    system, included for directories and files of NFS.
    When there is a file that hasn't an owner or a group, there is the
    corresponding number in its place. The TAR copy that number like (-973)
    and in a restore appears the owner and the group of the user that does
    the function, usually is root.
    The customer wants that it gives the corresponding number without
    changes.
    Does that command work under specifications or it is a mistake ?
    
    Many thanks in advance and regards.
T.RTitleUserPersonal
Name
DateLines
9917.1finder.uvo.dec.com::COFFEYJLa Feline Flooz - a unix catThu May 22 1997 09:2321
If you're describing what I think you're describing it 
sounds like you'll never get it to write back a file 
owned by a non existant user. 

The owner of the file has to exist for it to be created
as far as I understand it. 

The files ended up with just numbers by being created
by a user who has since ceased to exist I expect. 

If this is what's happening though I'd say you have a 
case to log an IPMT saying for security reasons the user 
should default to being nobody not to root otherwise
the potential for leaving around world writable 
suid root owned programmes is a beeeg security hole... 

see if anyone else corrects what I've said here before 
logging it though :-)


Jo 
9917.2SMURF::MAJESKEThu May 22 1997 11:391
    Did you try the -p flag?
9917.3TAR in DUNIX V 4.0bBARNA::DSMAILFri May 23 1997 09:392
    Yes, I try the -p flag, and it is the same.
    Thanks.
9917.4obsolete TARBARNA::DSMAILThu May 29 1997 03:305
    
    I have a by-pass with the obsolete TAR in :
    /usr/opt/obsolete/usr/bin/tar
    
    Thanks for every thing.