Re: how to (r)sync group-ownerships?



peter pilsl wrote:




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.

That sounds a bit crazy. Like - after repacking on the clone - some damned
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 a
cheap way to fix it.

No real cheapie. I remember once makine a script that recursively (on the
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]
.



Relevant Pages

  • Re: Script access - IIS 6
    ... Script, and the Python interpreter EXE is the ScriptEngine that executes the ... > ACLs from those default web directories. ... > is IUSR) for anonymous and the logged in user for any other authentication ... > I have reset the ACL to allow anonymous access and everything works. ...
    (microsoft.public.inetserver.iis.security)
  • Re: LDAP Query for "User Cannot Change Password"
    ... Pretty good link if you need a script. ... >> Here is my Query String ... As Joe mentiones it's set in the ACLs, ... > has the option set. ...
    (microsoft.public.windows.server.active_directory)
  • RE: [fw-wiz] Automatic ACL update on Cisco boxes
    ... "lock and key" site:cisco.com ... dynamic ACL RADIUS site:cisco.com ... I guess you could work from there to script something user friendly. ... > remove ACLs ...
    (Firewall-Wizards)
  • Re: Change permission remotely
    ... For changing the ACLs, try this script: ... There are many script examples available to show you how to process multiple ... Prev by Date: ...
    (microsoft.public.scripting.vbscript)