skip to main | skip to sidebar

weBlog

Some meaningless posts about things I do, see or are just "worth" mentioning.

Thursday, April 12, 2007

CHMOD a-x on executable files in subdirs

Today I copied a lot of files from a Samba share, the problem with this is that
chmod a-x * -R
won't work since all directories will also be non-executable and therefor not accessible.
The command I used is:
find -type f -exec chmod a-x {} \;


Thanks to Pascal de Bruijn, Stephan Kochen and Martijn van de Streek.
Posted by lgespee at 10:39

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

My photo
lgespee
View my complete profile

Blog Archive

  • ▼  2007 (17)
    • ►  June (1)
    • ►  May (3)
    • ▼  April (4)
      • Ubuntu 7.04 Feisty Fawn released
      • We all live in a ...
      • CHMOD a-x on executable files in subdirs
      • CPU frequency selector
    • ►  March (4)
    • ►  February (2)
    • ►  January (3)
  • ►  2006 (32)
    • ►  September (2)
    • ►  August (5)
    • ►  June (1)
    • ►  May (4)
    • ►  April (5)
    • ►  March (10)
    • ►  February (2)
    • ►  January (3)
  • ►  2005 (12)
    • ►  November (1)
    • ►  October (3)
    • ►  September (8)

Links

  • Planet Ubuntu-NL
  • Blog by Collin van Banning
  • Blog by Dennis Laumen
  • Blog by Marwin Rebel
  • Blog by Pascal de Bruijn
  • dfile.nl
  • lnet.nl
  • pcode.nl

Visited countries

Visited countries: Countries I visited