Quantcast
Channel: Active questions tagged mount+fstab - Ask Ubuntu
Viewing all articles
Browse latest Browse all 699

Mount NAS share and using git

$
0
0

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

Viewing all articles
Browse latest Browse all 699

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>