Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6390335
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T03:32:12+00:00 2026-05-25T03:32:12+00:00

I have a git repository on a company network drive and had no problem

  • 0

I have a git repository on a company network drive and had no problem pulling from it. However, i wasn’t able to push any commits into it, though I had a few good luck but recently I couldn’t get anything in it. The error was:

C:\Program Files\Git\bin\git.exe push “origin” master:master error:
Couldn’t set refs/heads/master To //software/pdd.git/ ! [remote
rejected] master -> master (failed to write) error: failed to push
some refs to ‘//software/pdd.git/’ Done

I suspect that it got to with the master file. On Windows, it shows that I might have been put into a network group that does not allow me to do modify but was able to read, write and execute.

My question is: If i was able to push a few times before, this file permission thing shouldm’t be a hassle to me. If it, indeed, that I don’t have enough privillage to modify, is there a workaround?

PS: The company is reluctant to change my network group to another, which would enable me to modify files.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T03:32:13+00:00Added an answer on May 25, 2026 at 3:32 am

    Check the question “Pushing to a Git repository on an NFS share fails“:

    The NAS is doing weird things to permissions, setting the sticky bit on all directories. This explains the behavior. An additional chmod solved the problem.

    That means this is a permission issue on the target (remote) side, as illustrated in “Git issues after upgrading to osx Lion“:

    there was an odd permission for everyone as ‘custom’. I updated this to be ‘Read & Write’ and the commit was finally successful.

    As a “workaound”, See this Error section:

    I just deleted my bare repository and created a brand new one and pushed my changes over there. And everything works again.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Git repository that is accessed from both Windows and OS X,
I have just created my first git repository for some software my company writes.
My company uses Subversion; I prefer Git. I have cloned the Subversion repository on
I have a git repository imported from subversion where users have names like H1234567
I have a remote git repository setup for centralized development within my team. However,
I have a GIT repository that I manage for my office. Because of company
I have a Git repository on my local machine that I cloned from my
Suppose we have the following repository structure on github: company:project.git \- company:submodule.git A developer
I have a Git repository that I want to remove all previous commits from.
I have a git repository with remote foo. foo is a web app, is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.