erol.name
  • Linux
  • Windows
  • Retro gaming
  • C64
  • Mobile
  • Raspberry Pi

erol.name

Posted on 12. 02. 202412. 02. 2024 by erol

Change permissions recursively to 775/664 for directories/files

I somehow always seem to forget how to do this the simple way:

chmod -R ug+rw /yourfolder

This will change yourfolder permissions to 775 and all folders inside recursively to 775, but all files in the folder(s) will be set to 664.

CategoriesLinux, Tips Tagschmod, files, folders, linux, permissions, recursively

Post navigation

Previous PostPrevious Run Waydroid in fullscreen on Linux Mint with Gnome
Next PostNext Append bash history in real-time and change output to show date and time of the command execution

Recent Posts

  • Zip individual files by extension in separate zip file with the same filename and zip extension
  • Libretro vs MAME romset mapping
  • Sort du output by folder size
  • Mount Nextcloud as drive in Windows WebDAV
  • Check MD5 hash of file in Windows 10 from command line

Recent Comments

  • simone on Manually add files and folders to ownCloud
  • erol on How to additionally clean-up Kodi MySQL database from unwanted entries
  • John on How to additionally clean-up Kodi MySQL database from unwanted entries
  • jackd on Switch axis in pifba retropie emulator configuration
  • polv on Select and hide unmounted drive icons from Xfce desktop

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
© 2007-2024 by Erol Tahirović