Mailinglist Archive: opensuse (3441 mails)

< Previous Next >
Re: [opensuse] Correct Way to Recursively Change Permissions
  • From: Cristian Rodríguez <crrodriguez@xxxxxxx>
  • Date: Tue, 13 Jan 2009 22:42:10 -0300
  • Message-id: <496D42F2.8020601@xxxxxxx>
Henare Degan escribió:
Hi list,

I want to change permissions on a large directory structure to only RW
for the owner of all the files. If I:

chmod -R 600 /path/of/directory


find /path/of/directory -type f -exec chmod 600 {} +



--
"We have art in order not to die of the truth" - Friedrich Nietzsche

Cristian Rodríguez R.
Software Developer
Platform/OpenSUSE - Core Services
SUSE LINUX Products GmbH
Research & Development
http://www.opensuse.org/


< Previous Next >
Follow Ups
References