http://qs321.pair.com?node_id=11140662


in reply to Archive::Tar directory permissions

G'day LiveandLearn2021,

Welcome to the Monastery.

"I am trying to determine if I'm encountering a bug or expected behavior with Archive::Tar."

I'd say that's expected behaviour. In "Archive::Tar - $Archive::Tar::SAME_PERMISSIONS" it says "The default is 1 for the root user and 0 for normal users.".

[It's good that you've wrapped your code in <code>...</code> tags. Please also do this for any data and output (including exception messages). In this instance, your ls output is very difficult to read. Thankyou.]

— Ken

Replies are listed 'Best First'.
Re^2: Archive::Tar directory permissions
by LiveandLearn2021 (Initiate) on Jan 24, 2022 at 14:03 UTC
    Thank you all for the suggestion and tips!