Code Monkey home page Code Monkey logo

Comments (3)

tst2005 avatar tst2005 commented on May 18, 2024

Hello,
Git does not remind permissions.
It is an issue on our side.
You just have to change your umask.

For example:

$ umask 077
$ cd /tmp
$ git clone https://github.com/rrthomas/lrexlib
$ ls -logd lrexlib/doc lrexlib/doc/*
drwx------ 2  4096 Aug 25 17:24 lrexlib/doc
-rw------- 1  5524 Aug 25 17:24 lrexlib/doc/html4css1.css
-rw------- 1  1249 Aug 25 17:24 lrexlib/doc/license.html
-rw------- 1   452 Aug 25 17:24 lrexlib/doc/lrexlib.css
-rw------- 1 45068 Aug 25 17:24 lrexlib/doc/manual.txt
-rw------- 1    85 Aug 25 17:24 lrexlib/doc/SciTE.properties

You probably want this:

$ umask 022
$ cd /tmp
$ git clone https://github.com/rrthomas/lrexlib
$ ls -ld lrexlib/doc lrexlib/doc/*
drwxr-xr-x 2  4096 Aug 25 17:25 lrexlib/doc
-rw-r--r-- 1  5524 Aug 25 17:25 lrexlib/doc/html4css1.css
-rw-r--r-- 1  1249 Aug 25 17:25 lrexlib/doc/license.html
-rw-r--r-- 1   452 Aug 25 17:25 lrexlib/doc/lrexlib.css
-rw-r--r-- 1 45068 Aug 25 17:25 lrexlib/doc/manual.txt
-rw-r--r-- 1    85 Aug 25 17:25 lrexlib/doc/SciTE.properties

from lrexlib.

Nomarian avatar Nomarian commented on May 18, 2024

ah, did not know about umask, very well, thanks

FWIW I thought it was an issue because this only happens on lrexlib-posix, lrexlib-gnu has the correct permissions.

from lrexlib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.