Permissions problem with windows share destination

Asked by ThatJackElliott

I have a Windows share mounted on /media

The mount command in /etc/fstab is

//192.168.1.241/private /media/diskstation cifs username=<myusername>,password=<mypassword>,iocharset=utf8,sec=ntlm 0 0

This returns no errors and I can browse the mount.

But Back In Time cannot back up to it, here is a line from the log:

Error: rsync: symlink "/media/diskstation/CCD-6-Linux_back_in_time_backups/backintime/CCD-6-Linux/root/1/new_snapshot/backup/home/filestation/.pulse/3ae8a75b9542fb2684fa97700000000b-runtime" -> "/tmp/pulse-CcctT9RwKSB1" failed: Permission denied (13)

How can I fix this?

Question information

Language:
English Edit question
Status:
Answered
For:
Back In Time Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Germar (germar) said :
#1

You need to set correct permissions for your mount. Add ',uid=1000,gid=1000' to the options in your fstab line. Doublecheck your correct uid and gid with 'id'.

But I'd recommend using BIT's SSH mode instead. It's a lot faster. AFAIK you only need to tweak the Synologies Diskstations SSHd to accept public-key login. Add 'PubkeyAuthentication yes' to /etc/ssh/sshd_config on your Diskstation and restart sshd.
Take a look at 'man backintime' section SSH on how to config BackInTime.

Can you help with this problem?

Provide an answer of your own, or ask ThatJackElliott for more information if necessary.

To post a message you must log in.