Page 1 of 1

How to preserve file/folder security permissions

Posted: 29 Nov 2010 17:41
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

Re: How to preserve file/folder security permissions

Posted: 29 Nov 2010 19:53
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

Re: How to preserve file/folder security permissions

Posted: 29 Nov 2010 20:15
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.

Re: How to preserve file/folder security permissions

Posted: 29 Nov 2010 20:18
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

Re: How to preserve file/folder security permissions

Posted: 30 Nov 2010 00:17
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:

Re: How to preserve file/folder security permissions

Posted: 30 Nov 2010 09:26
by admin
Well, I currently have no capacity to deal with this. Maybe after the roadmap is through...

Re: How to preserve file/folder security permissions

Posted: 30 Nov 2010 14:24
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.

Re: How to preserve file/folder security permissions

Posted: 30 Nov 2010 14:29
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.

Re: How to preserve file/folder security permissions

Posted: 31 Jan 2024 16:20
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

Re: How to preserve file/folder security permissions

Posted: 02 Feb 2024 09:28
by admin
'Preserve permissions' only works on intra-volume moves.