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 |
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.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
9917.1 | finder.uvo.dec.com::COFFEYJ | La Feline Flooz - a unix cat | Thu May 22 1997 09:23 | 21 | |
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.2 | SMURF::MAJESKE | Thu May 22 1997 11:39 | 1 | ||
Did you try the -p flag? | |||||
9917.3 | TAR in DUNIX V 4.0b | BARNA::DSMAIL | Fri May 23 1997 09:39 | 2 | |
Yes, I try the -p flag, and it is the same. Thanks. | |||||
9917.4 | obsolete TAR | BARNA::DSMAIL | Thu May 29 1997 03:30 | 5 | |
I have a by-pass with the obsolete TAR in : /usr/opt/obsolete/usr/bin/tar Thanks for every thing. |