Re: how to (r)sync group-ownerships?
- From: Walter Mautner <leaf.20.eatallspam@xxxxxxxxxxxxxxx>
- Date: Mon, 23 Jun 2008 15:45:42 +0200
peter pilsl wrote:
That sounds a bit crazy. Like - after repacking on the clone - some damned
Groups are represented by simple numbers. When you do a "ls -l" followed
by a "ls -ln" you'll get a clue.
The translation table from number to the names showed is /etc/group.
Another system may well have another /etc/group.
A analogy exists with SSIDs/RIDs in windows world.
Ok. Sorry I didnt put my questions clear in the first place.
My problem is:
After tar and retar some gids are wrong.
On the source-system the gid of a certain file was 101 and on the
target-system its now 102. This happenend for a unknown number of
files/directories. I've discoverered 4 such problems till now.
script did "reconfigure" the user setup.
Of course, that problem should stay limited to a few places. Watching
logfiles while starting affected services, and chmod'ing erranous groups
will probably still be the fastest workaround.
But then, when you unpack the archive in a safe place and watch the output
of ls -ln for affected folders/files, without booting first - what do you
see?
There was a problem with gid when transferring the files and I need aNo real cheapie. I remember once makine a script that recursively (on the
cheap way to fix it.
source side) grabs acls (getfacl ....) to intermediate *.acl files,
transferring these files over to the corresponding filestructure on the
target machine, then reapplying the acls (setfacl ...) there.
--
vista policy violation: Microsoft optical mouse found penguin patterns
on mousepad. Partition scan in progress to remove offending
incompatible products. Reactivate MS software.
Linux 2.6.24. [LinuxCounter#295241,ICQ#4918962]
.
- References:
- how to (r)sync group-ownerships?
- From: peter pilsl
- Re: how to (r)sync group-ownerships?
- From: Walter Mautner
- Re: how to (r)sync group-ownerships?
- From: peter pilsl
- how to (r)sync group-ownerships?
- Prev by Date: Re: Swap usage
- Next by Date: Re: Corrupt slackware 12.1 image???
- Previous by thread: Re: how to (r)sync group-ownerships?
- Next by thread: Re: how to (r)sync group-ownerships?
- Index(es):
Relevant Pages
|