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

  • Home
  • SEARCH
  • 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 7917373
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T15:07:27+00:00 2026-06-03T15:07:27+00:00

Just turned an some.sh file into an executable ( chmod 755 … ), the

  • 0

Just turned an some.sh file into an executable (chmod 755 ...), the permissions were updated but not the content. Is there a way to commit the file into git, so that the executable bit will be restored/set on clone / checkout / pull ?

Update: how can I track that the new permissions were submitted to github?

  • 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-06-03T15:07:28+00:00Added an answer on June 3, 2026 at 3:07 pm

    By default, git will update execute file permissions if you change them. It will not change or track any other permissions.

    If you don’t see any changes when modifying execute permission, you probably have a configuration in git which ignore file mode.

    Look into your project, in the .git folder for the config file and you should see something like this:

    [core]
        filemode = false
    

    You can either change it to true in your favorite text editor, or run:

    git config core.filemode true
    

    Then, you should be able to commit normally your files. It will only commit the permission changes.

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

Sidebar

Related Questions

Some Emacs package I use has turned off the find-file confirmation for choosing a
So I took some php code and turned it into a calendar with a
Hey just getting following error Could not load file or assembly 'Ektron.Cms.Controls, Version=8.0.1.87, Culture=neutral,
I just got a real surprise when I loaded a jpg file and turned
I just turned on notices because it has some important information I need with
My site has just recently run into some issues with High CPU usage from
I've been having a huge problem with this. Xcode just simply turned my landscape
Just wondering how I can make my app open automatically at login, but make
Just wondering if the following is considered to be good programming practice or not?
I've slurped in a big file using File::Slurp but given the size of the

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.