I have a directory with lots of files and inside a mounted directory.
var/
log/
nfs/ (a NFS remote directory)
www/
How can I chmod
/chown
everyfiles inside that directory without changing nfs
ones.
Well my solution was to use find
to do that:
find . -xdev -exec chown myuser:mygroup {} \;