How to copy permissions from one file to another on Linux
From nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog Format (RSS/FEED) (Vivek Gite) to All on Fri Jan 10 15:26:19 2025
I
need to copy or clone file ownership and permissions from another file on Linux. Is there a bash command line option to clone the user, group ownership and permissions on a file from another file on Linux operating system?
Love this? sudo share_on:
Twitter
-
Facebook
-
LinkedIn
-
Whatsapp
-
Reddit
The post
How to copy permissions from one file to another on Linux
appeared first on
nixCraft
.
Who's Online
Recent Visitors
Sykotik
Tue Apr 14 16:22:53 2026
from
Canada
via
Telnet
Morningstarr
Sun Apr 12 15:27:15 2026
from
Concord, Nc
via
Telnet
Rixter
Fri Apr 3 06:57:42 2026
from
Madison, Nc
via
SSH
Voltman
Wed Apr 1 11:17:50 2026
from
Calgary, Alberta
via
Telnet