[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
feature request for chmod/chgrp/...
From: |
Tjabo Kloppenburg |
Subject: |
feature request for chmod/chgrp/... |
Date: |
Thu, 20 Feb 2003 11:13:05 +0100 |
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: address@hidden
- feature request for chmod/chgrp/...,
Tjabo Kloppenburg <=