Perform chmod
and chown
operations simultaneously.
git clone https://github.com/s3cb0y/chmown.git
cp chmown/chmown.sh /usr/bin/chmown
chmod +x /usr/bin/chmown
$ chown MODE OWNER[:[GROUP]] FILE...
$ chown 777 appuser:dev /etc/apache2/httpd.conf
MIT