linux git init/clone on Netapp NTFS security style volumes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,
 
I'm trying to execute git init and git clone operations on a linux client that mounts a Netapp volume with NTFS Security Style. Meaning the client is Linux based but the filesystem is managed from Windows side - especially linux chmod operations are not permitted.
 
Maybe a new CLI option might be helpful to skip those chmod operations.
 
 
$ git version
git version 2.34.1
 
 
ERROR git clone
$ git clone https://github.com/git/git.git
Cloning into 'git'...
error: chmod on /mnt/git-clone-test/git/.git/config.lock failed: Operation not permitted
fatal: could not set 'core.filemode' to 'false'
 
$ git config --global --replace-all core.fileMode false
 
$ git clone https://github.com/git/git.git
Cloning into 'git'...
error: chmod on /mnt/git-clone-test/git/.git/config.lock failed: Operation not permitted
fatal: could not set 'core.filemode' to 'false'
 
 
ERROR git init
$ git init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint:   git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint:   git branch -m <name>
error: chmod on /mnt/git-init-test/.git/config.lock failed: Operation not permitted
fatal: could not set 'core.filemode' to 'false'
 
$ git config --global --replace-all core.fileMode false
$ git init
error: chmod on /mnt/git-init-test/.git/config.lock failed: Operation not permitted
fatal: could not set 'core.repositoryformatversion' to '0'
 
$ cat .git/config
[core]
        repositoryformatversion = 0
 
$ git status
fatal: not a git repository (or any parent up to mount point /data/care)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
 
 
Thanks&Best
 
JH





[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux