Skip to main content
added 7 characters in body
Source Link

I use image-backup to backup my Rpi. I backup directly on an FTP server and I do so via sshfs.

This is how I connect in my /etc/fstab:

MYUSERNAME@MYSERVER:/home/myuser/rpi_backup /mnt/MYSERVER fuse.sshfs noauto,x-systemd.automount,_netdev,reconnect,identityfile=/home/pi/.ssh/id_rsa,allow_other,default_permissions 0 0 

Here my /etc/fuse.conf

user_allow_other 

I get the error that I dont have permissions:

rsync: [generator] symlink "/tmp/img-backup-mnt/boot/cmdline.txt" -> "firmware/cmdline.txt" failed: Operation not permitted (1) 

I have tried also the following commands but this didn't fix it:

sudo groupadd fuse sudo usermod -a -G fuse pi 

Someone has an idea of what else I could try to fix this?

Many thanks!

EDIT:

So in the end it isn't SSHFS at all.

When using sudo image-backup and then enter the destination /mnt/test.img I get the same error.

I understand that a custom program is difficult to troubleshoot and to look whats wrong but what rsync commands can I test to reproduce or narrow down the errors? Thanks.

I use image-backup to backup my Rpi. I backup directly on an FTP server and I do so via sshfs.

This is how I connect in my /etc/fstab:

MYUSERNAME@MYSERVER:/home/myuser/rpi_backup /mnt/MYSERVER fuse.sshfs noauto,x-systemd.automount,_netdev,reconnect,identityfile=/home/pi/.ssh/id_rsa,allow_other,default_permissions 0 0 

Here my /etc/fuse.conf

user_allow_other 

I get the error that I dont have permissions:

rsync: [generator] symlink "/tmp/img-backup-mnt/boot/cmdline.txt" -> "firmware/cmdline.txt" failed: Operation not permitted (1) 

I have tried also the following commands but this didn't fix it:

sudo groupadd fuse sudo usermod -a -G fuse pi 

Someone has an idea of what else I could try to fix this?

Many thanks!

EDIT:

So in the end it isn't SSHFS at all.

When using sudo image-backup and then enter the destination /mnt/test.img I get the same error.

I understand that a custom program is difficult to troubleshoot look whats wrong but what rsync commands can I test to reproduce or narrow down the errors? Thanks.

I use image-backup to backup my Rpi. I backup directly on an FTP server and I do so via sshfs.

This is how I connect in my /etc/fstab:

MYUSERNAME@MYSERVER:/home/myuser/rpi_backup /mnt/MYSERVER fuse.sshfs noauto,x-systemd.automount,_netdev,reconnect,identityfile=/home/pi/.ssh/id_rsa,allow_other,default_permissions 0 0 

Here my /etc/fuse.conf

user_allow_other 

I get the error that I dont have permissions:

rsync: [generator] symlink "/tmp/img-backup-mnt/boot/cmdline.txt" -> "firmware/cmdline.txt" failed: Operation not permitted (1) 

I have tried also the following commands but this didn't fix it:

sudo groupadd fuse sudo usermod -a -G fuse pi 

Someone has an idea of what else I could try to fix this?

Many thanks!

EDIT:

So in the end it isn't SSHFS at all.

When using sudo image-backup and then enter the destination /mnt/test.img I get the same error.

I understand that a custom program is difficult to troubleshoot and to look whats wrong but what rsync commands can I test to reproduce or narrow down the errors? Thanks.

added 320 characters in body; edited tags
Source Link

I use image-backup to backup my Rpi. I backup directly on an FTP server and I do so via sshfs.

This is how I connect in my /etc/fstab:

MYUSERNAME@MYSERVER:/home/myuser/rpi_backup /mnt/MYSERVER fuse.sshfs noauto,x-systemd.automount,_netdev,reconnect,identityfile=/home/pi/.ssh/id_rsa,allow_other,default_permissions 0 0 

Here my /etc/fuse.conf

user_allow_other 

I get the error that I dont have permissions:

rsync: [generator] symlink "/tmp/img-backup-mnt/boot/cmdline.txt" -> "firmware/cmdline.txt" failed: Operation not permitted (1) 

I have tried also the following commands but this didn't fix it:

sudo groupadd fuse sudo usermod -a -G fuse pi 

Someone has an idea of what else I could try to fix this?

Many thanks!

EDIT:

So in the end it isn't SSHFS at all.

When using sudo image-backup and then enter the destination /mnt/test.img I get the same error.

I understand that a custom program is difficult to troubleshoot look whats wrong but what rsync commands can I test to reproduce or narrow down the errors? Thanks.

I use image-backup to backup my Rpi. I backup directly on an FTP server and I do so via sshfs.

This is how I connect in my /etc/fstab:

MYUSERNAME@MYSERVER:/home/myuser/rpi_backup /mnt/MYSERVER fuse.sshfs noauto,x-systemd.automount,_netdev,reconnect,identityfile=/home/pi/.ssh/id_rsa,allow_other,default_permissions 0 0 

Here my /etc/fuse.conf

user_allow_other 

I get the error that I dont have permissions:

rsync: [generator] symlink "/tmp/img-backup-mnt/boot/cmdline.txt" -> "firmware/cmdline.txt" failed: Operation not permitted (1) 

I have tried also the following commands but this didn't fix it:

sudo groupadd fuse sudo usermod -a -G fuse pi 

Someone has an idea of what else I could try to fix this?

Many thanks!

I use image-backup to backup my Rpi. I backup directly on an FTP server and I do so via sshfs.

This is how I connect in my /etc/fstab:

MYUSERNAME@MYSERVER:/home/myuser/rpi_backup /mnt/MYSERVER fuse.sshfs noauto,x-systemd.automount,_netdev,reconnect,identityfile=/home/pi/.ssh/id_rsa,allow_other,default_permissions 0 0 

Here my /etc/fuse.conf

user_allow_other 

I get the error that I dont have permissions:

rsync: [generator] symlink "/tmp/img-backup-mnt/boot/cmdline.txt" -> "firmware/cmdline.txt" failed: Operation not permitted (1) 

I have tried also the following commands but this didn't fix it:

sudo groupadd fuse sudo usermod -a -G fuse pi 

Someone has an idea of what else I could try to fix this?

Many thanks!

EDIT:

So in the end it isn't SSHFS at all.

When using sudo image-backup and then enter the destination /mnt/test.img I get the same error.

I understand that a custom program is difficult to troubleshoot look whats wrong but what rsync commands can I test to reproduce or narrow down the errors? Thanks.

deleted 223 characters in body
Source Link

I use image-backup to backup my Rpi. I backup directly on an FTP server and I do so via sshfs.

This is how I connect in my /etc/fstab:

MYUSERNAME@MYSERVER:/home/myuser/rpi_backup /mnt/MYSERVER fuse.sshfs noauto,x-systemd.automount,_netdev,reconnect,identityfile=/home/pi/.ssh/id_rsa,allow_other,default_permissions 0 0 

Here my /etc/fuse.conf

user_allow_other 

I get the error that I dont have permissions:

rsync: [generator] symlink "/tmp/img-backup-mnt/boot/cmdline.txt" -> "firmware/cmdline.txt" failed: Operation not permitted (1) 

I have tried also the following commands but this didn't fix it:

sudo groupadd fuse sudo usermod -a -G fuse pi 

When I go into /mnt/MYSERVER and create a file with touch file. I can then edit this file with sudo nano file. But I can not use sudo echo blabla >> file where I get a permission denied. Maybe this is related?

Someone has an idea of what else I could try to fix this?

Many thanks!

I use image-backup to backup my Rpi. I backup directly on an FTP server and I do so via sshfs.

This is how I connect in my /etc/fstab:

MYUSERNAME@MYSERVER:/home/myuser/rpi_backup /mnt/MYSERVER fuse.sshfs noauto,x-systemd.automount,_netdev,reconnect,identityfile=/home/pi/.ssh/id_rsa,allow_other,default_permissions 0 0 

Here my /etc/fuse.conf

user_allow_other 

I get the error that I dont have permissions:

rsync: [generator] symlink "/tmp/img-backup-mnt/boot/cmdline.txt" -> "firmware/cmdline.txt" failed: Operation not permitted (1) 

I have tried also the following commands but this didn't fix it:

sudo groupadd fuse sudo usermod -a -G fuse pi 

When I go into /mnt/MYSERVER and create a file with touch file. I can then edit this file with sudo nano file. But I can not use sudo echo blabla >> file where I get a permission denied. Maybe this is related?

Someone has an idea of what else I could try to fix this?

Many thanks!

I use image-backup to backup my Rpi. I backup directly on an FTP server and I do so via sshfs.

This is how I connect in my /etc/fstab:

MYUSERNAME@MYSERVER:/home/myuser/rpi_backup /mnt/MYSERVER fuse.sshfs noauto,x-systemd.automount,_netdev,reconnect,identityfile=/home/pi/.ssh/id_rsa,allow_other,default_permissions 0 0 

Here my /etc/fuse.conf

user_allow_other 

I get the error that I dont have permissions:

rsync: [generator] symlink "/tmp/img-backup-mnt/boot/cmdline.txt" -> "firmware/cmdline.txt" failed: Operation not permitted (1) 

I have tried also the following commands but this didn't fix it:

sudo groupadd fuse sudo usermod -a -G fuse pi 

Someone has an idea of what else I could try to fix this?

Many thanks!

Source Link
Loading