I'm using Ubuntu 18.04, and a WDex2 cloud.
I want to use one of its share for git instead on one of my local drives.
When I try to clone git repository, I get an error:
guy@desktop:~/guy@cloud$ git clone https://github.com/guydvir2/ArduinoCloning into 'Arduino'...error: chmod on /home/guy/guy@cloud/Arduino/.git/config.lock failed: Operation not permittedfatal: could not set 'core.filemode' to 'false'
path, guy@desktop:~/guy@cloud$
links to a share on my NAS.It is mounted using /etc/fstab
causing to be owned by root
This is the relevant line on /etc/fstab
//192.168.2.100/guyd /home/guy/guy@cloud cifs credentials=/home/guy/.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
This is directory listing show it is root after it is mounted:
drwxrwxrwx 2 root root 0 Jun 13 07:54 guy@cloud