[Midnight Commander] #4451: extended ACLs are not copied (copy, move)

56 views
Skip to first unread message

Ticket System

unread,
Mar 16, 2023, 10:00:10 PM3/16/23
to gull...@gullevek.org, mc-...@googlegroups.com
#4451: extended ACLs are not copied (copy, move)
--------------------------------+-------------------------------------
Reporter: clemens | Type: defect
Status: new | Priority: minor
Milestone: Future Releases | Component: mc-core
Version: 4.8.26 | Keywords: acl,copy,move
Blocked By: | Blocking:
Branch state: no branch | Votes for changeset:
--------------------------------+-------------------------------------
'''Version:'''

{{{
GNU Midnight Commander 4.8.26
Built with GLib 2.66.8
Built with S-Lang 2.3.2 with terminfo database
With builtin Editor and Aspell support
With subshell support as default
With support for background operations
With mouse support on xterm and Linux console
With support for X11 events
With internationalization support
With multiple codepages support
With ext2fs attributes support
Virtual File Systems:
cpiofs, tarfs, sfs, extfs, ext2undelfs, ftpfs, sftpfs, fish
Data types:
char: 8; int: 32; long: 64; void *: 64; size_t: 64; off_t: 64;
}}}


'''Description'''

When using copy or move on the same file system or between file systems
the set ACLs are not copied over

'''MC view:'''
Source
{{{
│ File: bar
│ Location: 10303h:21734h
│ Mode: drwxrwxr-x (0775)
│ Attributes: -----------------e-------
│ Links: 2
│ Owner: admin/admin
│ Size: 4096 (8 blocks)
│ Changed: Mar 17 10:19
│ Modified: Mar 17 09:40
│ Accessed: Mar 17 10:19
│ Filesystem: /
│ Device: /dev/nvme0n1p1
│ Type: ext4 (10303h)
│ Free space: 29G/49G (58%)
│ Free nodes: 2850212/3268608 (87%)
}}}


'''Getfacl view:'''
On source folder
{{{
>$ getfacl bar
# file: bar
# owner: admin
# group: admin
user::rwx
group::r-x
group:staff:rwx
mask::rwx
other::r-x
}}}


'''After Copy/Move'''
On target folder
{{{
>$ getfacl bar
# file: bar/
# owner: admin
# group: admin
user::rwx
group::rwx
other::r-x
}}}

'''MC View'''
On target folder

{{{
│ File: bar
│ Location: 10303h:2172Eh
│ Mode: drwxrwxr-x (0775)
│ Attributes: -----------------e-------
│ Links: 2
│ Owner: admin/admin
│ Size: 4096 (8 blocks)
│ Changed: Mar 17 10:56
│ Modified: Mar 17 09:40
│ Accessed: Mar 17 10:19
│ Filesystem: /
│ Device: /dev/nvme0n1p1
│ Type: ext4 (10303h)
│ Free space: 29G/49G (58%)
│ Free nodes: 2850209/3268608 (87%)
}}}

Turning "Preserve attributes" on or off doesn't change the outcome

--
Ticket URL: <http://www.midnight-commander.org/ticket/4451>
Midnight Commander <https://midnight-commander.org>
Midnight Development Center

Ticket System

unread,
Mar 16, 2023, 11:30:08 PM3/16/23
to gull...@gullevek.org, mc-...@googlegroups.com
#4451: extended ACLs are not copied (copy, move)
--------------------------+-------------------------------------
Reporter: clemens | Owner:
Type: defect | Status: closed
Priority: minor | Milestone:
Component: mc-core | Version: master
Resolution: duplicate | Keywords: acl,copy,move

Blocked By: | Blocking:
Branch state: no branch | Votes for changeset:
--------------------------+-------------------------------------
Changes (by andrew_b):

* status: new => closed
* version: 4.8.26 => master
* resolution: => duplicate
* milestone: Future Releases =>


Comment:

Closed as duplicate of #2468.

--
Ticket URL: <http://www.midnight-commander.org/ticket/4451#comment:1>

Ticket System

unread,
Mar 16, 2023, 11:35:04 PM3/16/23
to gull...@gullevek.org, mc-...@googlegroups.com
#4451: extended ACLs are not copied (copy, move)
--------------------------+---------------------------------------
Reporter: clemens | Owner:
Type: defect | Status: reopened

Priority: minor | Milestone: Future Releases
Component: mc-core | Version: master
Resolution: | Keywords: acl,copy,move

Blocked By: | Blocking:
Branch state: no branch | Votes for changeset:
--------------------------+---------------------------------------
Changes (by andrew_b):

* status: closed => reopened
* resolution: duplicate =>
* milestone: => Future Releases


Comment:

Sorry.

Reopened.

--
Ticket URL: <http://www.midnight-commander.org/ticket/4451#comment:2>

Ticket System

unread,
Feb 13, 2025, 7:42:41 AM2/13/25
to gull...@gullevek.org, mc-...@googlegroups.com
#4451: extended ACLs are not copied (copy, move)
--------------------------+---------------------------------------
Reporter: clemens | Owner:
Type: defect | Status: reopened
Priority: minor | Milestone: Future Releases
Component: mc-core | Version: master
Resolution: | Keywords: acl,copy,move
Blocked By: 1852 | Blocking:

Branch state: no branch | Votes for changeset:
--------------------------+---------------------------------------
Description changed by zaytsev:

Old description:

New description:

'''Version:'''


'''Description'''


'''After !Copy/Move'''

--

--
Ticket URL: <http://www.midnight-commander.org/ticket/4451#comment:4>

Ticket System

unread,
Feb 18, 2025, 7:58:27 AM2/18/25
to gull...@gullevek.org, mc-...@googlegroups.com
#4451: extended ACLs are not copied (copy, move)
--------------------------+---------------------------------------
Reporter: clemens | Owner:
Type: defect | Status: reopened
Priority: minor | Milestone: Future Releases
Component: mc-core | Version: master
Resolution: | Keywords: acl,copy,move
Blocked By: | Blocking: 1852

Branch state: no branch | Votes for changeset:
--------------------------+---------------------------------------
Changes (by zaytsev):

* blocking: => 1852
* blockedby: 1852 =>


--
Ticket URL: <http://www.midnight-commander.org/ticket/4451#comment:5>

Reply all
Reply to author
Forward
0 new messages