How to preserve file/folder security permissions

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
JorgePadron
Posts: 3
Joined: 29 Nov 2010 17:08

How to preserve file/folder security permissions

Post by JorgePadron »

Is it possible to preserve the source file/folder security permissions with "Rich Copy Here"?

Thank you in advance and my apologies if this question has been asked before.

Jorge

admin
Site Admin
Posts: 66097
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: How to preserve file/folder security permissions

Post by admin »

Did you try to check Configuration | File Operations | Preserve permissions on move operation? If unchecked then the FOF_NOCOPYSECURITYATTRIBS flag is set.

Welcome,
Don

JorgePadron
Posts: 3
Joined: 29 Nov 2010 17:08

Re: How to preserve file/folder security permissions

Post by JorgePadron »

admin wrote:Did you try to check Configuration | File Operations | Preserve permissions on move operation? If unchecked then the FOF_NOCOPYSECURITYATTRIBS flag is set.

Welcome,
Don
Don, "Configuration | File Operations | Preserve permissions on move operation" was checked by default. When I drag a file from a Search tab into another drive, I select "Rich Move Here" -- the file is moved but the 'security' permissions are not preserved.

admin
Site Admin
Posts: 66097
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: How to preserve file/folder security permissions

Post by admin »

JorgePadron wrote:
admin wrote:Did you try to check Configuration | File Operations | Preserve permissions on move operation? If unchecked then the FOF_NOCOPYSECURITYATTRIBS flag is set.

Welcome,
Don
Don, "Configuration | File Operations | Preserve permissions on move operation" was checked by default. When I drag a file from a Search tab into another drive, I select "Rich Move Here" -- the file is moved but the 'security' permissions are not preserved.
I don't think it is possible cross-volume. See this thread:
http://www.xyplorer.com/xyfc/viewtopic.php?t=2484

PeterH
Posts: 2827
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Re: How to preserve file/folder security permissions

Post by PeterH »

From technical point of view: if you can't copy/move cross-volume *with* permissions - couldn't you copy/move without, and then explicitly set permissions as you want, i.e. copy them? Technically it's different - for XY-user it's same.

But logical: *what* permissions should you copy? Only explicit permission from an object, or also permissions propagated from higher objects? (I think most files and folders don't have explicit, but only propagated permissions.)
And: copy only permissions for current user, or also permissions for others? (Here XY would need (administrative?) permission to set those permissions :D )

Maybe we could need a function in XY to copy permissions :roll:

admin
Site Admin
Posts: 66097
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: How to preserve file/folder security permissions

Post by admin »

Well, I currently have no capacity to deal with this. Maybe after the roadmap is through...

JorgePadron
Posts: 3
Joined: 29 Nov 2010 17:08

Re: How to preserve file/folder security permissions

Post by JorgePadron »

admin wrote:
JorgePadron wrote:
admin wrote:Did you try to check Configuration | File Operations | Preserve permissions on move operation? If unchecked then the FOF_NOCOPYSECURITYATTRIBS flag is set.

Welcome,
Don
Don, "Configuration | File Operations | Preserve permissions on move operation" was checked by default. When I drag a file from a Search tab into another drive, I select "Rich Move Here" -- the file is moved but the 'security' permissions are not preserved.
I don't think it is possible cross-volume. See this thread:
http://www.xyplorer.com/xyfc/viewtopic.php?t=2484
The functionality we're looking for on XYplorer is the equivalent of robocopy's "robocopy /sec" command from an XY search results tab list.

admin
Site Admin
Posts: 66097
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: How to preserve file/folder security permissions

Post by admin »

JorgePadron wrote:
admin wrote:
JorgePadron wrote:
admin wrote:Did you try to check Configuration | File Operations | Preserve permissions on move operation? If unchecked then the FOF_NOCOPYSECURITYATTRIBS flag is set.

Welcome,
Don
Don, "Configuration | File Operations | Preserve permissions on move operation" was checked by default. When I drag a file from a Search tab into another drive, I select "Rich Move Here" -- the file is moved but the 'security' permissions are not preserved.
I don't think it is possible cross-volume. See this thread:
http://www.xyplorer.com/xyfc/viewtopic.php?t=2484
The functionality we're looking for on XYplorer is the equivalent of robocopy's "robocopy /sec" command from an XY search results tab list.
Rich Copy currently relies on the Shell's file operations and the Shell cannot do this AFAIK. An alternative copy engine relying on Kernel API is planned and will offer more possibilities.

Thiagoros
Posts: 1
Joined: 24 Jan 2024 14:31

Re: How to preserve file/folder security permissions

Post by Thiagoros »

JorgePadron wrote: 29 Nov 2010 20:15
admin wrote:Did you try to check Configuration | File Operations | Preserve permissions on move operation? If unchecked then the FOF_NOCOPYSECURITYATTRIBS flag is set.

Welcome,
Don
Don, "Configuration | File Operations | Preserve permissions on move operation" was checked by default. When I drag a file from a Search tab into another drive, I select "Rich Move Here" -- the file is moved but the 'security' permissions are not preserved.
Facing a snag despite the default 'Preserve permissions' option in file operations. When using 'Rich Move Here,' the move is successful, but unfortunately, the 'security' permissions aren't retained. Any insights appreciated!Fm Whatsapp Download

admin
Site Admin
Posts: 66097
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: How to preserve file/folder security permissions

Post by admin »

'Preserve permissions' only works on intra-volume moves.

Post Reply