Fix for fatal: detected dubious ownership in repository | Github permission fix|NTFS fstab fix

Опубликовано: 05 Октябрь 2024
на канале: tech 4tress
1,287
1

Error Description:
fatal: detected dubious ownership in repository at '
RuntimeError: Couldn't fetch Stable Diffusion.
Command: "git" -C "/media/vamzi/ssd/stable-diffusion-webui-master/stable-diffusion-webui/repositories/stable-diffusion-stability-ai" fetch --refetch --no-auto-gc
Error code: 128

solution:
mount the partition with proper permissions

Edit fstab file,
use the following mount partition location and permissions,
/dev/nvme0n1p1 /media/vamzi/ssd ntfs-3g nosuid,nodev,nofail,uid=1000,gid=1000,x-gvfs-show,x-gvfs-name=Data-drive 0 0
Create mount location using
sudo mkdir /media/vamzi/ssd

mount the partition using
mount /dev/nvme0n1p1

and once you rerun webui.sh,
the problem shouldnt persist and the error should be gone :)