Re: permissions on /var

2000-02-24 Thread S.P. van Noort
I got the idea how I should have done it, working with tar with some specific tars. My biggest concern at the moment is however to repair the whole thing. Some of my problems so far: - nothing is being logged in /var/log, even with chmod 777 the whole thing (which doesn't exactly helps me in rep

Re: permissions on /var

2000-02-24 Thread Ethan Benson
On Wed, Feb 23, 2000 at 10:54:42AM -0800, kmself@ix.netcom.com wrote: > > One option is to use tar through a pipe: > > Moving from /somedir to /otherdir: > > cd /somedir > tar cvf - . | ( cd otherdir; tar xvf - ) > > ...not sure why I prefer this (I'm an old fart, I guess), but it > pre

Re: permissions on /var

2000-02-23 Thread kmself
On Wed, Feb 23, 2000 at 02:35:02PM +0100, S.P. van Noort wrote: > Hello, > > I decided to put /var on a seperate partition, and I used the command > cp -R /var/* /tmpvar (/tmpvar the new partitiona for /var) > and then deleted /var and mounted the new partition on /var. > > It was (a couple of

Re: permissions on /var

2000-02-23 Thread Ethan Benson
On Wed, Feb 23, 2000 at 09:29:49AM -0600, Dave Sherohman wrote: > > As for whether cp -a is The Right Thing to do, that's an occasional topic > of extended discussion. Some people prefer tar or other commands to handle > that sort of thing, but some of us use cp -a and haven't had any problems >

Re: permissions on /var

2000-02-23 Thread Dave Sherohman
S.P. van Noort said: > And can someone tell me what I should have done, a special flag for cp for > example. Relevant cp flag, from man cp: -a, --archive same as -dpR And just what are d, p, and R? -d, --no-dereference preserve links -p, --prese

permissions on /var

2000-02-23 Thread S.P. van Noort
Hello, I decided to put /var on a seperate partition, and I used the command cp -R /var/* /tmpvar (/tmpvar the new partitiona for /var) and then deleted /var and mounted the new partition on /var. It was (a couple of minutes) later that I found out that everything on the new partition has owner