Can not change folder color due to failure of os.utime()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
folder-color (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I tried to set folder color for /etc, but the icon was not changed and I got this error:
Traceback (most recent call last):
File "/usr/share/
item_path = urllib.
File "/usr/share/
self.
File "/usr/share/
self.
File "/usr/share/
os.
OSError: [Errno 13] Permission denied: '/etc'
Both nautilus and caja extensions have the same issue.
I changed the os.utime line to the following code as a workaround.
try:
os.utime(
except OSError:
pass
I just need to press F5 to refresh manually
Status changed to 'Confirmed' because the bug affects multiple users.