• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Other] Repo Clone Error: "Chmod on X failed: Operation not permitted, fatal: could not set ..."

Le pug

Creator of Pokémon: Discovery / Fat Kid
  • 871
    Posts
    11
    Years
    Hello, I'm trying to figure out these repo clones and keep running into this error.

    for pokeemerald, when cloning into repo such as

    Code:
    git remote add xaman https://github.com/TheXaman/pokeemerald/

    I have the pokeemerald folder selected but I get:

    Code:
    error: chmod on /mnt/c/Users/Domin/Decomps/dom/pokeemerald/.git/config.lock failed: Operation not permitted
    fatal: could not set 'remote.xaman.url' to 'https://github.com/TheXaman/pokeemerald/'

    Any assistance would be great. Seems this is the final block I'm running into on adding in the repos. I have even tried to follow along with Comet Shard's YouTube video but get the error.
     
    for pokeemerald, when cloning into repo such as

    Code:
    git remote add xaman https://github.com/TheXaman/pokeemerald/
    That's not how you clone anything.
    git remote allows you to track other people's repositories so you can pull commits from the branches in them.
    I have the pokeemerald folder selected but I get:

    Code:
    error: chmod on /mnt/c/Users/Domin/Decomps/dom/pokeemerald/.git/config.lock failed: Operation not permitted
    fatal: could not set 'remote.xaman.url' to 'https://github.com/TheXaman/pokeemerald/'
    Considering you're having filesystem permission issues, I'd suggest you to try out these commands.
    Just open WSL, type cd to quickly jump to the Linux filesystem and insert them one by one.
    Code:
    cd ~
    sudo umount /mnt/c
    sudo mount -t drvfs C: /mnt/c -o metadata
    Once you're done, close WSL, open it again and try... whatever you're trying to do again.
    Any assistance would be great. Seems this is the final block I'm running into on adding in the repos. I have even tried to follow along with Comet Shard's YouTube video but get the error.
    Fyi, you don't need to deal with merging the branches manually and solving conflicts unless you want to.
    If you haven't formally started your project yet, you may be interested in simply using the master branch of the pokeemerald-expansion.

    Recently, this branch has been turned into a merged branch. It contains the BE, the IE and the PE.
    The branch will get updated every once in a while so it'll receive any updates pushed to the individual branches at a slower pace, but it saves a lot of headaches for the user.
     
    Back
    Top