Permission denied while writing tags from filename
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gmusicbrowser (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Following error when attempting to write tags generated from filename:
Error while writing tag... Permission denied
Error opening '~/Music/Can/Tago Mago/Can - Tago Mago - 01 - Paperhouse.flac' for writing.
N.B. :
Tags do write without error when I attempt to do it in the usual way: when I write them manually.
This problem has occured in other players. It had occured in Quodlibet. But I can't confirm this bug in any other player at the moment because: Quodlibet refuses to run at all at; Rhythmbox seems unable to edit multiple tags at the moment; I can't see a way to generate tags from filename in either Audacious or Banshee.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: gmusicbrowser 1.1.12+ds0-1
ProcVersionSign
Uname: Linux 3.13.0-35-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.4
Architecture: amd64
CurrentDesktop: XFCE
Date: Sat Sep 20 18:34:56 2014
EcryptfsInUse: Yes
PackageArchitec
SourcePackage: gmusicbrowser
UpgradeStatus: No upgrade log present (probably fresh install)
Using "auto-fill based on the file names" simply fill the entry fields in the dialog, so it's very unlikely that it differs from manually entering the values.
The error is a system error, gmb tries to open the file for writing and gets an error, so there's not much gmb can do.
There is a possible explanation for the fact that it sometimes work and sometimes not: the writing can be done in 2 ways depending on how big the tag is and how much space is reserved for the tag in the file.
In one case it edits the file in place so it needs to have the permission to write the file. In the other case it writes a new file with a temporary name, and then replace the old one by the new one, so it works if it has write permission for the folder even if it doesn't have write permission for the file.
So check the permissions of the files and of its folder.