(SOLVED)Access denied when atempting Deja Dup

Here you'll find a place for solutions and hints.

Please use one of the support subforums below for questions or if you have any issues and need support.

(SOLVED)Access denied when atempting Deja Dup

Postby Rosco » May 24th, '14, 18:10

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?
Last edited by Rosco on Jul 12th, '14, 18:59, edited 1 time in total.
Rosco
 
Posts: 22
Joined: Apr 22nd, '14, 13:29

Re: Access denied when atempting Deja Dup

Postby doktor5000 » May 24th, '14, 18:25

Can you please show the output of
Code: Select all
mount
ls -al /run/media/rosco/e57c8d38-4a05-4b10-9eef-83ad18d4bd6b
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Access denied when atempting Deja Dup

Postby Rosco » May 27th, '14, 15:51

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
Last edited by doktor5000 on May 27th, '14, 22:00, edited 1 time in total.
Reason: added code tags
Rosco
 
Posts: 22
Joined: Apr 22nd, '14, 13:29

Re: Access denied when atempting Deja Dup

Postby doktor5000 » May 27th, '14, 22:03

Please next time use code tags as explained in ftp://ftp5.gwdg.de/pub/linux/mandriva/m ... e_tags.ogv

Rosco 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.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Access denied when atempting Deja Dup

Postby Rosco » May 30th, '14, 13:11

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 ;)
Rosco
 
Posts: 22
Joined: Apr 22nd, '14, 13:29

Re: Access denied when atempting Deja Dup

Postby doktor5000 » May 31st, '14, 00:32

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.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Access denied when atempting Deja Dup

Postby Rosco » May 31st, '14, 15:42

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
Last edited by doktor5000 on May 31st, '14, 23:45, edited 1 time in total.
Reason: added code tags
Rosco
 
Posts: 22
Joined: Apr 22nd, '14, 13:29

Re: Access denied when atempting Deja Dup

Postby doktor5000 » May 31st, '14, 23:47

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.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Access denied when atempting Deja Dup

Postby Rosco » Jun 4th, '14, 13:00

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.
Rosco
 
Posts: 22
Joined: Apr 22nd, '14, 13:29

Re: Access denied when atempting Deja Dup

Postby Ken-Bergen » Jun 4th, '14, 18:06

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.
Ken
Ken-Bergen
 
Posts: 1019
Joined: Mar 30th, '11, 02:45
Location: Chilliwack, BC, Canada

Re: Access denied when atempting Deja Dup

Postby Rosco » Jun 10th, '14, 18:39

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
Rosco
 
Posts: 22
Joined: Apr 22nd, '14, 13:29

Re: Access denied when atempting Deja Dup

Postby doktor5000 » Jun 10th, '14, 18:41

Can you please post the command you used and the resulting error message?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Access denied when atempting Deja Dup

Postby Rosco » Jun 10th, '14, 19:08

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
Rosco
 
Posts: 22
Joined: Apr 22nd, '14, 13:29

Re: Access denied when atempting Deja Dup

Postby Ken-Bergen » Jun 10th, '14, 19:24

After you enter root's password in the konsole type
Code: Select all
dolphin
and press Enter.
Dolphin will then open with root permissions.
Ken
Ken-Bergen
 
Posts: 1019
Joined: Mar 30th, '11, 02:45
Location: Chilliwack, BC, Canada

Re: Access denied when atempting Deja Dup

Postby Rosco » Jul 11th, '14, 16:45

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
Rosco
 
Posts: 22
Joined: Apr 22nd, '14, 13:29

Re: Access denied when atempting Deja Dup

Postby Ken-Bergen » Jul 11th, '14, 16:57

Type dolphin
Ken
Ken-Bergen
 
Posts: 1019
Joined: Mar 30th, '11, 02:45
Location: Chilliwack, BC, Canada

Re: Access denied when atempting Deja Dup

Postby doktor5000 » Jul 11th, '14, 17:39

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.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Access denied when atempting Deja Dup

Postby Rosco » Jul 12th, '14, 18:56

Thank you both. It's now fixed as per Ken's suggestion and I have run a Daja Dupe backup!

Regards,
Ross
Rosco
 
Posts: 22
Joined: Apr 22nd, '14, 13:29


Return to The magician suggests...

Who is online

Users browsing this forum: No registered users and 1 guest

cron