Giter Club home page Giter Club logo

Comments (4)

przemoc avatar przemoc commented on June 12, 2024

Well, it depends on the kind of backup you're actually doing. One thing is sure, I won't change the behavior for upcoming v1.1. There are two reasons:

  • v1.1 won't have behavioral changes,
  • you cannot store uid in current metastore format, because it uses names by design.

That said, I'm open to tune it in the future. Configuration (#7) and textual format (#6) will be needed for that.

from metastore.

smemsh avatar smemsh commented on June 12, 2024

Definitely good idea. Just had occasion for this yesterday:
ran a script that was supposed to recursively change
permissions in /etc/something/ but it had a bug that
caused it to start in /etc/; had to restore permissions
from backup.

However the backup machine had a totally different
/etc/passwd; I had done my backup using
rsync --numeric-ids. Unfortunately, lack of support for
this operation in metastore made this impossible (it does
getpw* calls and bombed).

I had to use getfacl | setfacl instead.

from metastore.

insanityinside avatar insanityinside commented on June 12, 2024

Moved from bug #41 - Attempting to apply metadata to a filesystem where the current UID/GID is not in /etc/passwd results in a "getpwuid failed" error on startup, and a failure to change the ownership of the files specified in .metadata, with a "removed" message when the files were actually there.

(Situation occurred after running an rsync from a host when restoring, and the UID/GID in question restored by rsync was a different UID/GID to the original.)

from metastore.

moskalenko avatar moskalenko commented on June 12, 2024

It looks like this issue is still present in metastore. Any plans to resolve it? Thanks.

Here's running it from a git hook:

getpwuid failed for .: uid 1005 not found

from metastore.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.