79576067

Date: 2025-04-15 21:52:31
Score: 3
Natty:
Report link

It looks like I can do it this way:

PERMISSIONS=$(stat -c %a $FILE)
.......
chmod $PERMISSIONS $FILE

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Carl Ponder