[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Tar Files and Password Files
- Subject: Re: [cobalt-users] Tar Files and Password Files
- From: Kris Dahl <krislists@xxxxxxxxxxxxx>
- Date: Thu Mar 23 11:13:36 2000
on 3/23/00 10:47 AM, Randall N. at neptune2011@xxxxxxxxx wrote:
> Hi Group,
>
> First I apologize for my lack of knowledge regarding
> these next two questions, but I am quickly learning my
> basic Linux skills.
>
> What command would I issue to tar up a directory while
> preserving it's file permissions and excluding any
> symbolic links? I attempting to pack up a user's
> directory named "awardsju", and I thought "tar -zcfp
> awardsjun.tar awardsjun" would do the trick. But I
> keep getting an error that there's no such file or
> directory.
I think your syntax is incorrect.
tar -czp --file=awardsjun.tar awardsjun
> Also, is it possible to transfer an .htpasswd file
> from one server to a new one? If I have a password
> file on one server that has
>
> Tarzan:2MpZz8P2/zIXE
>
> then can't this same file be moved over to the other
> server?
Yes. This is how I implement .htaccess stuff on machines that I only have
FTP access to. This is assuming that both machines are similarly configured
(web servers that use the same encryption method for htpasswd). You need to
just make sure that the path in the .htaccess file is pointing to the new
location of the .htpasswd file.
-k