|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
tar strange behavior
OS: solaris5.8
as root i mount the cd mount -F hsfs -o ro /dev/dsk/c0t6d0s0 /cdrom it's OK, all dirs have 755, all files 644 permissions as normal user i exec mkdir -p /aa/bb/cc/dd a ls -ld /aa/bb/cc/dd confirm permissions 755 owned by me now i cd to /cdrom and try to copy . to /aa/bb/cc/dd using tar cfb - 126k . ¦ (cd /aa/bb/cc/dd ; tar xfpv -) permission denied error messages a ls -ld /aa/bb/cc/dd show permissions 555 the dir is no longer writable ![]() ![]() ![]() $PATH is correct, tar is /bin/tar and cd is NOT an alias i never saw this before. any ideas? tia |
|
#2
|
|||
|
|||
|
all on holidays ?
|
|
#3
|
|||
|
|||
|
First I would try it without the blocking factor. I thought both tar's need to know about the blocking factor. And using a large blocking factor across a pipe doesn't seem to make sense. If that still fails I would suspect a bad version of tar and switch to cpio or pax. You might check for any patches to your version of sunos.
|
|
#4
|
|||
|
|||
|
sorry Perderabo for late reply
NO i use the tar blocking factort since 1991 that's sure not the point Quote:
try it! |
|
#5
|
|||
|
|||
|
Whenever tar is piped - at least for the version I have from 1997 82.4.1.6 hpux -
it uses a blocking factor of 1. I am given to believe the same is true with linux flavors of tar. |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > tar strange behavior |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|