Page 1 of 1
(SOLVED)Access denied when atempting Deja Dup

Posted:
May 24th, '14, 18:10
by Rosco
I'm trying to backup to an external USB using Deja Dup. The backup appears to start ok but then I get the following "Access Denied" message:
Permission denied when trying to create ‘/run/media/rosco/e57c8d38-4a05-4b10-9eef-83ad18d4bd6b/duplicity-full.20140524T154308Z.vol1.difftar.gz’.
Can anyone please help?
Re: Access denied when atempting Deja Dup

Posted:
May 24th, '14, 18:25
by doktor5000
Can you please show the output of
- Code: Select all
mount
ls -al /run/media/rosco/e57c8d38-4a05-4b10-9eef-83ad18d4bd6b
Re: Access denied when atempting Deja Dup

Posted:
May 27th, '14, 15:51
by Rosco
Hi doktor thanks for your prompt reply. The output of the command is as follows:
- Code: Select all
[rosco ~]$ mount
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
devtmpfs on /dev type devtmpfs (rw,nosuid,size=3054200k,nr_inodes=185675,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
/dev/sda6 on / type ext4 (rw,noatime,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct,cpu)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=37,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
mqueue on /dev/mqueue type mqueue (rw,relatime)
tmpfs on /tmp type tmpfs (rw)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime,mode=755)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/sda4 on /media/win_ type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sda1 on /media/win_c type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sda5 on /media/win_d type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sda2 on /media/win_e type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
- Code: Select all
[rosco ~]$ ls -al /run/media/rosco/e57c8d38-4a05-4b10-9eef-83ad18d4bd6b
Regards,
Rosco
Re: Access denied when atempting Deja Dup

Posted:
May 27th, '14, 22:03
by doktor5000
Please next time use code tags as explained in
ftp://ftp5.gwdg.de/pub/linux/mandriva/m ... e_tags.ogvRosco wrote:- Code: Select all
[rosco ~]$ mount
/dev/sda6 on / type ext4 (rw,noatime,data=ordered)
/dev/sda4 on /media/win_ type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sda1 on /media/win_c type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sda5 on /media/win_d type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sda2 on /media/win_e type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
- Code: Select all
[rosco ~]$ ls -al /run/media/rosco/e57c8d38-4a05-4b10-9eef-83ad18d4bd6b
Well, there's no device accessible where you're trying to write the backup (/run/media/rosco/e57c8d38-4a05-4b10-9eef-83ad18d4bd6b according to the error message that you've shown) so it's clear that this will fail. You have to select a valid target for the backup.
Re: Access denied when atempting Deja Dup

Posted:
May 30th, '14, 13:11
by Rosco
Hi Doktor
Sorry about that. I've redone it and the output of the script you gave me is as follows (with the 'access denied' error present):
- Code: Select all
[rosco@localhost ~]$ mount
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
devtmpfs on /dev type devtmpfs (rw,nosuid,size=3054200k,nr_inodes=185675,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
/dev/sda6 on / type ext4 (rw,noatime,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct,cpu)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=37,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
debugfs on /sys/kernel/debug type debugfs (rw,relatime,mode=755)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
tmpfs on /tmp type tmpfs (rw)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/sda4 on /media/win_ type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sda5 on /media/win_d type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sda1 on /media/win_c type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sda2 on /media/win_e type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sdb1 on /run/media/rosco/e57c8d38-4a05-4b10-9eef-83ad18d4bd6b type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
[rosco@localhost ~]$ ls -al /run/media/rosco/e57c8d38-4a05-4b10-9eef-83ad18d4bd6b
Regards
Rosco
~edited by isadora: re-arranged code-tags 
Re: Access denied when atempting Deja Dup

Posted:
May 31st, '14, 00:32
by doktor5000
Rosco wrote:- Code: Select all
[rosco@localhost ~]$ mount
[...]
/dev/sdb1 on /run/media/rosco/e57c8d38-4a05-4b10-9eef-83ad18d4bd6b type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
[rosco@localhost ~]$ ls -al /run/media/rosco/e57c8d38-4a05-4b10-9eef-83ad18d4bd6b
Seems you omitted something from the latter command, since there is no output at all for that.
Re: Access denied when atempting Deja Dup

Posted:
May 31st, '14, 15:42
by Rosco
Hi Doktor
Third time lucky?
- Code: Select all
[rosco@localhost ~]$ mount
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
devtmpfs on /dev type devtmpfs (rw,nosuid,size=3054200k,nr_inodes=185675,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
/dev/sda6 on / type ext4 (rw,noatime,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct,cpu)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=37,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime,mode=755)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/sda5 on /media/win_d type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sda4 on /media/win_ type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sda1 on /media/win_c type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sda2 on /media/win_e type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sdb1 on /run/media/rosco/e57c8d38-4a05-4b10-9eef-83ad18d4bd6b type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
- Code: Select all
[rosco@localhost ~]$ ls -al /run/media/rosco/e57c8d38-4a05-4b10-9eef-83ad18d4bd6b
Re: Access denied when atempting Deja Dup

Posted:
May 31st, '14, 23:47
by doktor5000
You just posted the same thing for the third time, there's no output not even an error message that this file has not been found.
- Code: Select all
[doktor5000@Mageia4 ~]$ ls -al /run/media/rosco/e57c8d38-4a05-4b10-9eef-83ad18d4bd6b
ls: cannot access /run/media/rosco/e57c8d38-4a05-4b10-9eef-83ad18d4bd6b: No such file or directory
[doktor5000@Mageia4 ~]$
Sorry, I can't help you that way.
Re: Access denied when atempting Deja Dup

Posted:
Jun 4th, '14, 13:00
by Rosco
Hi Doktor
The external hd was working ok until I reformatted it (ext4) using GParted Live. Now I can't transfer any data to it whether it's trying to use Deja Dup or just attempting to drag and drop a text file.Is this "Access Denied" problem is to do with not having the relevant Permissions? I've had it before when I was using Ubuntu.
Re: Access denied when atempting Deja Dup

Posted:
Jun 4th, '14, 18:06
by Ken-Bergen
Yes it's a permissions problem.
When it was a Windows file system it was mounting as
Owner rosco with full Read-Write permissions.
Now that it's formatted ext4 it mounts as
Owner root
Group root
Permissions:
Owner Read-Write
Group Read
Other Read
As root create a folder on the drive and change the Ownership of that folder to rosco.
You and "Deja Dup" run as you will then have Write permissions to that folder and anything in that folder.
Re: Access denied when atempting Deja Dup

Posted:
Jun 10th, '14, 18:39
by Rosco
Hi Ken
Thanks for the info. I was not sure how to log on as root but after a ferrett around in the forum found the command "su -" I did this and entered my root password but it still would not let me create a new folder on the usb drive.Any suggestions
Rosco
Re: Access denied when atempting Deja Dup

Posted:
Jun 10th, '14, 18:41
by doktor5000
Can you please post the command you used and the resulting error message?
Re: Access denied when atempting Deja Dup

Posted:
Jun 10th, '14, 19:08
by Rosco
Hi Doktor
Thanks for the prompt reply. I opened up Konsole and entered "su -" to log on as root. When I went into Dolphin and right clicked on the usb drive to create a new folder as suggested by Ken, it said I was not authorised to carry out that command.
Regards
Rosco
Re: Access denied when atempting Deja Dup

Posted:
Jun 10th, '14, 19:24
by Ken-Bergen
After you enter root's password in the konsole type
- Code: Select all
dolphin
and press Enter.
Dolphin will then open with root permissions.
Re: Access denied when atempting Deja Dup

Posted:
Jul 11th, '14, 16:45
by Rosco
Hi Ken
Having opened a Konsole as administrator from the Control Centre, when I typed "CODE: SELECT ALL" it said command not recognised. What am I doing wrong?
Regards,
Rosco
Re: Access denied when atempting Deja Dup

Posted:
Jul 11th, '14, 16:57
by Ken-Bergen
Type dolphin
Re: Access denied when atempting Deja Dup

Posted:
Jul 11th, '14, 17:39
by doktor5000
Rosco wrote:when I typed "CODE: SELECT ALL" it said command not recognised. What am I doing wrong?
That code box is a feature of the forum software, simply click on the blue
SELECT ALL link to select the content of the code box. It was suggesting to simply run dolphin.
Re: Access denied when atempting Deja Dup

Posted:
Jul 12th, '14, 18:56
by Rosco
Thank you both. It's now fixed as per Ken's suggestion and I have run a Daja Dupe backup!
Regards,
Ross