• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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
870
Posts
10
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.
     

    Lunos

    Random Uruguayan User
    3,114
    Posts
    15
    Years
  • 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