[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 71568] New: Recursive permission change does not change file
From:       Charles Phoenix <phoenixreads () rogers ! com>
Date:       2003-12-31 17:31:50
Message-ID: 20031231173150.17682.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
     
http://bugs.kde.org/show_bug.cgi?id=71568     
           Summary: Recursive permission change does not change file
                    properties as expected (refresh problem too)
           Product: konqueror
           Version: 3.1.4
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: konq-bugs@kde.org
        ReportedBy: phoenixreads@rogers.com


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.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic