[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Directory permissions.



On Tue, 29 Apr 1997, David Wright wrote:

> On Tue, 29 Apr 1997, Rick Jones wrote:
> 
> > [ description of problem ]
> > 
> > I did this to avoid a full install when I repartitioned since I have no
> > backup system and have installed from ftp.  Somebody out there must have a
> > good way to reset my ownerships.
> 
> Well, the /easiest/ way might just be to copy the files in one of the
> correct manners, overwriting both them and their ownerships. For example,
> tar to stdout and pipe it to stdin of another tar with --save-permissions 
> and --save-owners (done as root).

Using the correct tools is important.  David gives you one such tool - I
personally type the following command in the directory I wish to copy:
"find . -print | cpio -p /target".  This is of course a simplification;
find and cpio have a lot of powerful options, and people will argue the 
merits of tar vs. cpio all day.  It works for me.  At any rate, mc is not
up to the task.

> 
> > About a year ago I remember running across a doc that described the file
> > system structure standards.  I don't remember if it gave ownerships but
> > it's worth a shot if someone knows what it's called and where I can find
> > it.
> 
> No, it's far too short to cover ownerships, only locations. The 1.2 FSS
> doesn't give it's own location(!), but only that of its FAQ which is
> ftp://tsx-11.mit.edu/pub/linux/docs/linux-standards/fsstnd/FSSTND-FAQ
> 

I concur.  You're in for an install <grin> - I can smile cos I've bombed
my machines a few times.

> P.S. I don't see multiple copies of your postings here.

Nor do I.

Nathan


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: