Ticket #1871 (new defect)

Opened 8 years ago

Last modified 6 years ago

Advanced chown: wrong set files permissions

Reported by: zack24 Owned by:
Priority: major Milestone: Future Releases
Component: mc-core Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

The old problem, exists since 4.6
When setting files permissions on a group of files
often the permission of upper dirs getting changed.
Many times the permissions change of the / (root) dir has been observed.

To reproduce the bug do:

  1. Find * (all files in the dir)
  2. Select them all - dirs and files.
  3. Menu > File > Advanced chown
  4. change read write execute flags
  5. Apply.

Check the permission of the root dir
like this:

  1. mkdir /tmp/root
  2. mount -B / /tmp/root
  3. cd /tmp
  4. ls -lF

Change History

comment:1 Changed 8 years ago by andrew_b

  • Summary changed from Wrong set files permissions to Advanced chown: wrong set files permissions

comment:2 Changed 8 years ago by pavlinux

  1. mkdir /tmp/root
  2. mount -B / /tmp/root
  3. cd /tmp
  4. ls -lF

drwxr-xr-x 23 root root 4096 Янв 12 11:38 root/

# ls -lF /tmp/root/

drwxr-xr-x 2 root root 4096 Янв 12 02:16 bin/
drwxr-xr-x 2 root root 6 Ноя 3 05:19 boot/
drwxr-xr-x 2 root root 6 Дек 19 03:04 cpuset/
drwxr-xr-x 5 root root 4096 Ноя 3 05:19 dev/
drwxr-xr-x 120 root root 8192 Янв 12 16:32 etc/
drwxr-xr-x 5 root root 42 Янв 4 05:37 home/
drwxr-xr-x 10 root root 4096 Янв 12 11:43 lib/
drwxr-xr-x 8 root root 8192 Янв 12 11:59 lib64/
drwxr-xr-x 7 root root 61 Янв 12 11:39 media/
drwxr-xr-x 5 root root 39 Дек 4 04:27 mnt/
drwxr-xr-x 7 root root 4096 Янв 7 21:44 opt/
drwxr-xr-x 3 root root 16 Ноя 3 05:19 proc/
drwx------ 56 root root 4096 Янв 12 16:31 root/
drwxr-xr-x 3 root root 8192 Янв 12 02:16 sbin/
drwxr-xr-x 2 root root 6 Окт 24 07:08 selinux/
drwxr-xr-x 5 root root 54 Ноя 5 03:25 srv/
drwxr-xr-x 3 root root 19 Ноя 3 05:19 sys/
drwxrwxrwt 4 root root 36 Дек 30 02:50 tmp/
drwxr-xr-x 13 root root 4096 Янв 8 18:15 usr/
drwxr-xr-x 17 root root 4096 Янв 7 02:51 var/

Where is bug?

comment:3 Changed 6 years ago by andrew_b

  • Priority changed from critical to major
  • Branch state set to no branch
  • Milestone changed from 4.7 to Future Releases
Note: See TracTickets for help on using tickets.