No way to unset attributes set with gvfs-set-attribute

Bug #966198 reported by dobey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gvfs (Ubuntu)
New
Undecided
Unassigned

Bug Description

When adding an attribute to a file with gvfs-set-attribute, there is no way to then unset it, as gvfs-set-attribute does not have a "--unset" option, and there is no accompannying gvfs-unset-attribute command.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: gvfs-bin 1.11.5-1ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-20.32-generic-pae 3.2.12
Uname: Linux 3.2.0-20-generic-pae i686
NonfreeKernelModules: nvidia
ApportVersion: 1.95-0ubuntu1
Architecture: i386
Date: Tue Mar 27 09:07:41 2012
SourcePackage: gvfs
UpgradeStatus: Upgraded to precise on 2012-01-12 (74 days ago)

Revision history for this message
dobey (dobey) wrote :
Revision history for this message
Alfredo Hernández (aldomann) wrote :

You can, indeed, unset attributes.
"gvfs-set-attribute myfolder -t unset metadata::custom-icon" would delete the metadata::custom-icon attribute from "myfolder".

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.