On Wednesday 26 March 2003 19:23, Joe Stone wrote:
> On Wednesday 26 March 2003 16:58, Patrick Marquetecken wrote:
> > Hi,
> >
> > I have moved /var to another partition in single user mode with cp
> > -a. Now at boot time there are errors with permissions, but i can't
> > find the errors in /var/log/messages, /var/log/syslog ...
>
> if you want to copy with preserving permissions you have to add
> the switch -p
> try something like cp -Rp src dest
>
> also using tar is nice
>
> Joe
>
> --
> [EMAIL PROTECTED] mailing list
[19:54] [EMAIL PROTECTED]:~]$ man cp |grep -C 4 "\-a" |tail -5
-a, --archive
Preserve as much as possible of the structure and
attributes of
the original files in the copy (but do not preserve
directory
structure). Equivalent to -dpR.
Joe, as you can see isn't in the -a switch the problem's origin, as -p
is included.
Greets
Francesco.
--
Linux Version 2.4.20-openmosix-r2, Compiled #1 Sun Mar 16 16:13:28 CET
2003
One 1.53GHz AMD Athlon XP Processor, 512M RAM, 3060.53 Bogomips Total
macula.fastwebnet.it
--
[EMAIL PROTECTED] mailing list