! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Incorrect Behavior on folders without the execute bit
Status:
CLOSED: FIXED
Severity:
critical
Product:
Thunar-vfs
Component:
General

Comments

Description botsie editbugs 2006-01-31 13:14:59 CET
When double click on a directory for which the user does not have execute
permission, there is no error. You are shown an empty directory. Ideally, a
permission denied error should be displayed. Alternatively, some kind of emblem
must be shown against the folder and nothing should happen when you click on it.

Reproducible: Always
Steps to Reproduce:
1. 
2. 
3.
Comment 1 Benedikt Meurer editbugs 2006-01-31 13:16:28 CET
Hehe, I was thinking the same while fixing the crash. ;-)
Comment 2 Benedikt Meurer editbugs 2006-01-31 16:31:42 CET
Committed with revision 19695.

2006-01-31	Benedikt Meurer <benny@xfce.org>

	* thunar-vfs/thunar-vfs-scandir.c: Return an error when trying to scan
	  a directory for which the user has no execute permissions. Bug #1408.
	* thunar/thunar-file.c(thunar_file_get_emblem_names): Add "cant-read"
	  emblem to folders, where we don't have permissions to enter. Second
	  part of fix for bug #1408.

Comment 3 Benedikt Meurer editbugs 2006-02-04 16:19:04 CET
The permissions chooser also displays a warning now for folders whose r and x
bits are inconsistent.

Bug #1408

Reported by:
botsie
Reported on: 2006-01-31
Last modified on: 2010-11-07

People

Assignee:
Jannis Pohlmann
CC List:
1 user

Version

Version:
unspecified

Attachments

Additional information