hi,

there's a feature I miss in chmod.

I know the X flag for chmod, but I would like to set the permissions
of files and directories (with subdirs) independently.

Example: setting permissions of files to 660, of dirs to 664:
  chmod -R . -f 660 -d 774

I know the find utilitiy, but something like
  find . -type f -exec chmod 660 {} \;
  find . -type d -exec chmod 774 {} \;
takes two lines. When called in a project tree with > 13000 files/dirs it takes VERY 
long.


Another feature I think of is to integrate the functions of chgrp/chown into chmod, 
making
it possible to set the permissions of a file - that includes ownership - in a single 
command:

  chmod -R . -u tom -g devusers -f 660 -d 774


I really miss something like that.


Have a nice day,
  and please add two feature requests for me -- I will not register a 1000th 
login/password...

tk.

-- 
Mit freundlichen Gr��en,
   Tjabo Kloppenburg

--
billiton internet services GmbH
Entwicklung+Technik
--------------------------------------------------------------
fon: 0271/30386-19 email: [EMAIL PROTECTED]



_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to