Bug 312858 - Changes to permissions do not propagate all the way down through the entire directory structure.
Summary: Changes to permissions do not propagate all the way down through the entire d...
Status: RESOLVED FIXED
Alias: None
Product: kfile
Classification: Applications
Component: kpropertiesdialog (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR major
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-08 06:58 UTC by K. A. Sayeed
Modified: 2018-06-15 01:56 UTC (History)
3 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 K. A. Sayeed 2013-01-08 06:58:11 UTC
1. When the properties dialogue box is selected for a folder and the "Apply changes to all subfolders and their contents" box is checked under "Permissions", and the changes to permissions are applied, then the changes do not propagate all the way down to all folders and their contents.

2. Instead, the required changes propagate only to the subfolder that immediately follows the folder to which the changes to permissions are applied.

3. Consequently, the permissions have to be applied MANUALLY to each succeeding subfolder until they are propagated to the last subfolder and file.
Comment 1 K. A. Sayeed 2013-01-08 11:16:05 UTC
1. The computer system hardware used to run Linux is an ASUS Netbook.

2. The KDE Standard Desktop was run on Ubuntu Linux 12.10.
Comment 2 Jekyll Wu 2013-01-08 12:24:30 UTC
Can't reproduce it. Could you attach an archive which contains a simple folders/files hierarchy as test case ?
Comment 3 K. A. Sayeed 2013-01-09 09:26:40 UTC
In order to reproduce it, try the following steps:

1. Create an example directory structure that is at least 5 levels deep.

2. Make all the directories starting from the top level directory "read
only" by the owner only using the permissions settings.of the KDE Dolphin
properties dialog box. Do this by applying the permissions settings to the
top level directory only using the "Apply changes to all subfolders and
their contents" check box.

3. Try reading the contents of the various directories in the example
directory structure. I found that it did not even let me look at the
contents of the directory.

4. Starting with the top level directory, change the permissions to full
access by all and try to propagate these changes all the way down the
directory structure using the permissions settings.of the KDE Dolphin
properties dialogue box and by checking the box for the "Apply changes to
all subfolders and their contents" therein.

5. Try to read the directories below the top level directory. I found that
I could only read one level below the top level.

6. Repeat step 4.

7. Repeat step 5. I found that I could now read one more level.of directory.

8. In summary, I found that by repeting steps 4 & 5 over and over again I
could read more and more levels of the directory structure (one more level
for each repetition of steps 4 & 5).

9. Is this how it is supposed to work (the instructions in the properties
dialog box, namely, "Apply changes to all subfolders and their contents"
seem to suggest otherwise)?




On 8 January 2013 07:24, Jekyll Wu <adaptee@gmail.com> wrote:

> https://bugs.kde.org/show_bug.cgi?id=312858
>
> --- Comment #2 from Jekyll Wu <adaptee@gmail.com> ---
> Can't reproduce it. Could you attach an archive which contains a simple
> folders/files hierarchy as test case ?
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
> You reported the bug.
>
Comment 4 Nate Graham 2018-06-15 01:56:13 UTC
Works for me in KDE Frameworks 5.47.