Bug 71568 - Recursive permission change does not change file properties as expected (refresh problem too)
Summary: Recursive permission change does not change file properties as expected (refr...
Status: RESOLVED NOT A BUG
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: 3.1.4
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-31 18:31 UTC by Charles Phoenix
Modified: 2012-06-18 17:33 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Charles Phoenix 2003-12-31 18:31:48 UTC
Version:           3.1.4 (using KDE 3.1.4)
Installed from:    Gentoo
Compiler:          gcc version 3.3.2 20031022 (Gentoo Linux 3.3.2-r2, propolice)
OS:          Linux (i686) release 2.4.23_pre8-gss

Create ../test [a di

Copying a directory with files & subdirectories from a mounted iso image (mounted by root)

permissions rwxr-xr-x root, root

Copy directory from mounted image 
to ../test 
under user,group 
with rwxr-xr-x permissions
successful

permissions now	r-xr-xr-x  user,group for files
				rwxr-xr-x user,group for sub-directories

Try copying over ../test, opps, write protect, have to change permissions

Right click on properties->permissions for ../test
permissions rwxr-xr-x  user,group
click apply to sub-directories
click ok

no change, files still have 
r-xr-xr-x  user,group 

----- this "trick" works in windows, presumably under the wisdom that if the user does not make a change then do nothing *instead* of if user clicks ok do action.

permissions r-xr-xr-x  user,group
click apply to sub-directories
click ok
permissions rwxr-xr-x  user,group
click apply to sub-directories
click ok

during the first change not even the directories change to r-xr-xr-x and remain at rwxr-xr-x only ../test
--------
Now just to prove it is possible

open up terminal in same Konqueror window, under user

issued chmod -Rv 755 ../test
terminal output shows change
check files (properties) apparently no change
refresh
changes show up
-------
try repeating - Konqueror crashes after close another window :) 
------
relaunch Konqueror

redo the same procedure but it is only *after* I do the Windows "trick" and only *after* I do refresh does Konqueror display the proper information. Refreshing has to be done explictly for each directory I look at.

Two issues...

1) When the user clicks OK the action should be preformed, assuming in this case it is not. One thing to emulate Windows it quite another to emulate its annoyances too. :)

2) I have notice similar behavior about Konqueror refreshing its display. For example, there is a script that process files, it uses an intermediate .tmp file, when it is finished if I look into that directory a few seconds later I see the last .tmp file which the script has delete. I have to do a refresh to get rid of it.
Comment 1 Philip Rodrigues 2006-08-29 14:01:48 UTC
Does this problem still exist in KDE 3.5?
Comment 2 Elmar Stellnberger (AT/K) 2006-09-29 21:04:02 UTC
Trying to change the group from users to video recursively by the graphical surface, the changes appear to some inodes and to others not.
root dir: changed
other subdirs: not changed
files at the very bottom: all of them except the first one changed!!!
After pressing F5 in all dirs the changes are viewed correctly.
Comment 3 Jaime Torres 2008-07-14 18:27:48 UTC
The rights modification and the rights refresh works for me in kde4 snv trnk r831729.
Comment 4 mario tuling 2008-10-14 16:59:44 UTC
jamie are you sure? i tested with r871301, modification works ok but the refresh not.
Comment 5 mario tuling 2008-10-17 01:45:35 UTC
to reproduce in short:
create a dir and therein subdirs. adjust the permissions of the top-level dir, the view wont get updated even if you descend into the dirs, after f5 everything is ok. 
i couldnt reproduce the crash the reporter mentioned. the change of the permissions also works fine.
Comment 6 FiNeX 2009-09-08 14:40:51 UTC
Can you reproduce this bug using Dolphin in KDE 4 ?
Comment 7 FiNeX 2009-09-14 01:03:56 UTC
Please, would you like to check the bug using a more recent KDE version like 4.3 or trunk?

Many thanks.
Comment 8 Myriam Schweingruber 2012-06-18 17:33:56 UTC
Closing for lack of feedback. Feel free to reopen if you can reproduce this in Konqueror 4.8.4 or later.