safe directory on shared drives

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

 



The new git security rules creates an issue on Windows systems where
the git repository is hosted in a shared folder.

$ git status

```
fatal: unsafe repository ('//192.168.0.120/config/' is owned by someone else)
To add an exception for this directory, call:

        git config --global --add safe.directory //192.168.0.120/config/
```

$ git config --global --add safe.directory //192.168.0.120/config/
$ git status

```
warning: encountered old-style '//192.168.0.120/config/' that should
be '%(prefix)//192.168.0.120/config/'
fatal: unsafe repository ('//192.168.0.120/config/' is owned by someone else)
To add an exception for this directory, call:

        git config --global --add safe.directory //192.168.0.120/config/
```

There seems to be no way to add a shared drive path to the safe directory list.



[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