Skip to content

Instantly share code, notes, and snippets.

@CodingKoopa
Created March 26, 2024 05:38
Show Gist options
  • Select an option

  • Save CodingKoopa/dbe20138598daa5e745038061488ef8b to your computer and use it in GitHub Desktop.

Select an option

Save CodingKoopa/dbe20138598daa5e745038061488ef8b to your computer and use it in GitHub Desktop.
ntfs permission stuff
  1. setup user mapping with ntfs-3g
  2. fix user: chown -R koopa:koopa .
  3. in windows, make sure that subfolder + file permissions are being inherited from the root
  4. in linux, fix file perms: find . -type f -print0 | sudo xargs -0 chmod 644
    • add execute perms within steam library
  5. in linux, fix dir perms: find . -type d -print0 | sudo xargs -0 chmod 755

at this point, things should pretty much be working: newly created documents are rw for the owner (shared between windows and linux), and can optionally be made executable

however, linux creates them as 644, whereas windows-created files show up in linux as 600

in windows, add List directory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment