Renaming files in Ubuntu fails

Any questions? Need some help?
Post Reply
lothian
Posts: 15
Joined: 22 May 2017, 11:35

Renaming files in Ubuntu fails

Post by lothian »

Hi, I am having a very annoying problem. I can drag a file into the renamer, and can get the new name to show on the right, however when I press the rename button, I get a message window pop up that says

Code: Select all

"Access Denied Exception: /mnt/tv/series/season/oldName.mkv -> /mnt/tv/series/season/newName.mkv.
I have full access to the folder and the files, I can use the file manager to rename the file if I choose to.

The files are in a nfs mount in Ubuntu 18.04 hosted on a VM by my FreeNAS 11.2 server; The files are hosted on the same FreeNAS server. I upgraded Filebot to the --edge build as of today, but it is exactly the same situation as when I was using the current release.

When I do this, a line in syslog shows up as follows:

Code: Select all

Jan 18 07:55:21 qbittorrent kernel: [57935.910081] audit: type=1400 audit(1547812521.193:190): apparmor="DENIED" operation="rename_src" profile="snap.filebot.filebot" name=2F6D6E742F74762F6D656469612F7476302F4F7276696C6C652C205468652F536561736F6E2030322F546865204F7276696C6C65202D20533032453033202D20486F6D65312E6D6B76 pid=11442 comm="java" requested_mask="wrd" denied_mask="wrd" fsuid=972 ouid=972
lothian
Posts: 15
Joined: 22 May 2017, 11:35

Re: Renaming files in Ubuntu fails

Post by lothian »

I fixed this by uninstalling and reinstalling using --classic. I understand that this might expose my system to some risks.

Code: Select all

 sudo snap install filebot --classic 
User avatar
rednoah
The Source
Posts: 22898
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Renaming files in Ubuntu fails

Post by rednoah »

Yes, sounds like SNAP confinement is preventing you from accessing files outside of your user home:
viewtopic.php?f=11&t=5139
:idea: Please read the FAQ and How to Request Help.
Post Reply