VOGONS

Common searches


First post, by caltrop

User metadata
Rank Newbie
Rank
Newbie

using Linux Mint Mate 20.1

DOSBox WRONG Permissions

creating a directory in DOSBox
drwx------ /home/caltrop/DOSBox/TMP

should be
drwxrwxr-x /home/caltrop/DOSBox/TMP

created files have the correct permission
-rw-rw-r-- whatever/file

wrote a script to normalize DOS Files

#!/bin/bash
echo "fixing DOSBox permissions"
find ~/DOSBox -type d \! -perm 775 -printf "%M %p\n" -exec chmod 775 {} \;
find ~/DOSBox -type f \! -perm 664 -printf "%M %p\n" -exec chmod 664 {} \;