[5426] in Athena Bugs

home help back first fref pref prev next nref lref last post

DS3100 ultrix3.1 tar will not work if cwd >100 chars

daemon@ATHENA.MIT.EDU (epeisach@ATHENA.MIT.EDU)
Thu Jul 5 17:17:29 1990

From: epeisach@ATHENA.MIT.EDU
Date: Thu, 5 Jul 90 17:17:16 -0400
To: bugs@ATHENA.MIT.EDU


if your current working directory is > 100 characters in length, then
tar will complain that "File name too long" enev if the argument is

tar cf - .

This is bad as the tar dump is simply using relative paths. 
The routine getwd checks for the max length. Removing the check would be
bad as the strings that are being copied into are 100 characters long.
MAXPATHLEN should be used to hold the directory names. The
inidividual file names should be limited to 100 characters.

	ezra

home help back first fref pref prev next nref lref last post