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 6890003
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T06:13:37+00:00 2026-05-27T06:13:37+00:00

I ran the following code to pull files from windows git repository. git pull

  • 0

I ran the following code to pull files from windows git repository.

git pull /Volumes/sucho/Desktop/git/setup

And I connect the Windows directory as follows.

tell application "Finder"
    mount volume "cifs://WINDOWS/c$/Users/sucho" as user name "USR" with password "PW"
end tell

It works well, but the problem is the pulled files from windows have 700 (rwx——). How can I set it 644(rw-r–r–) as default?

  • 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-27T06:13:38+00:00Added an answer on May 27, 2026 at 6:13 am

    This isn’t really answering your original question, but I hope to highlight another issue I ran into when attempting to trying @drewag’s proposed solution…

    Another issue I ran into when attempting to ignore file permissions, regardless of whether it was on a Windows or Mac machine (more prevelant on the Windows machine!), was the problem global vs. project-level configurations.

    Running this command did not affect the .gitconfig file in my C:\Users\Username folder:

     git config core.filemode false
    

    Although adding the –global flag did affect the change I was looking for:

     git config --global core.filemode false
    

    Hope this helps someone solve some of their headaches!

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

Sidebar

Related Questions

I ran across the following code in Ely Greenfield's SuperImage from his Book component
I ran the following two pieces of code on Windows XP (Code:Block, MinGW), and
I ran the following code in PHPAdmin's terminal: SELECT COUNT( * ) FROM User
I ran the following code, but nothing came up on the console.... #include <stdio.h>
I ran across the following code in one of our in-house dlls and I
I recently ran across some 3rd party C# code which does the following: public
I want to ran the following script on text files that are being committed:
I ran across the following in a stored procedure: for select 1 from scan_queue
I downloaded the selenium-java-2.0a5.zip http://code.google.com/p/selenium/downloads/list and ran the following code: package org.openqa.selenium.example; import org.openqa.selenium.By;
I ran into an annoying problem: the following code gives a warning in Visual

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.