GNOME Bugzilla – Bug 698955
must click checkbox twice when setting execute permission on multiple files
Last modified: 2017-04-01 07:09:40 UTC
I'm running Nautilus, GTK and GLib from git master. Here's an oddity: 1. Create two text files. 2. Select them both in Nautilus, then right click and choose Properties. 3. Go to the Permissions tab. 4. Click the Execute checkbox. It will change to show a horizontal line inside it. 5. From a terminal window, run 'ls -l' on the two files. They are not executable. 6. Click the checkbox again. Now it will display a check mark. 7. From the terminal, run 'ls -l' again. They are now executable. The permissions should change on the first click.
*** Bug 762655 has been marked as a duplicate of this bug. ***
Created attachment 340762 [details] [review] properties-window: fix checking inconsistent state In the function initial_permission_state_consistent, when the check was made to see if the files have the same permissions, the check was not correct. To fix this, also do & between the first_permissions and the mask.
Review of attachment 340762 [details] [review]: perfect, thanks!
Attachment 340762 [details] pushed as 3759585 - properties-window: fix checking inconsistent state
(In reply to Adam Dingle from comment #0) > I'm running Nautilus, GTK and GLib from git master. > > Here's an oddity: > > 1. Create two text files. > 2. Select them both in Nautilus, then right click and choose Properties. > 3. Go to the Permissions tab. > 4. Click the Execute checkbox. It will change to show a horizontal line > inside it. > 5. From a terminal window, run 'ls -l' on the two files. They are not > executable. > 6. Click the checkbox again. Now it will display a check mark. > 7. From the terminal, run 'ls -l' again. They are now executable. > > The permissions should change on the first click.