提示不允许操作 和权限被拒绝。。
chown: cannot read directory '/var/spool/postfix/public': Permission denied
chown: cannot read directory '/var/spool/postfix/saved': Permission denied
chown: changing ownership of '/var/spool/postfix/usr/lib/zoneinfo/localtime': Operation not permitted
chown: changing ownership of '/var/spool/postfix/usr/lib/zoneinfo': Operation not permitted
chown: changing ownership of '/var/spool/postfix/usr/lib/sasl2': Operation not permitted
chown: changing ownership of '/var/spool/postfix/usr/lib': Operation not permitted
chown: changing ownership of '/var/spool/postfix/usr': Operation not permitted
chown: cannot read directory '/var/spool/postfix/deferred': Permission denied
chown: cannot read directory '/var/spool/postfix/incoming': Permission denied
chown: cannot read directory '/var/spool/postfix/corrupt': Permission denied
chown: cannot read directory '/var/spool/postfix/private': Permission denied
chown: changing ownership of '/var/spool/postfix/dev/urandom': Operation not permitted
chown: changing ownership of '/var/spool/postfix/dev/random': Operation not permitted
chown: changing ownership of '/var/spool/postfix/dev/log': Operation not permitted
chown: changing ownership of '/var/spool/postfix/dev': Operation not permitted
chown: cannot read directory '/var/spool/postfix/hold': Permission denied
chown: changing ownership of '/var/spool/postfix/lib/x86_64-linux-gnu/libnss_systemd.so.2': Operation not permitted
chown: changing ownership of '/var/spool/postfix/lib/x86_64-linux-gnu/libnss_compat.so.2': Operation not permitted
chown: changing ownership of '/var/spool/postfix/lib/x86_64-linux-gnu/libnss_nis.so.2': Operation not permitted
chown: changing ownership of '/var/spool/postfix/lib/x86_64-linux-gnu/libnss_nis-2.27.so': Operation not permitted
chown: changing ownership of '/var/spool/postfix/lib/x86_64-linux-gnu/libnss_compat-2.27.so': Operation not permitted
chown: changing ownership of '/var/spool/postfix/lib/x86_64-linux-gnu/libnss_dns-2.27.so': Operation not permitted
chown: changing ownership of '/var/spool/postfix/lib/x86_64-linux-gnu/libresolv-2.27.so': Operation not permitted
chown: changing ownership of '/var/spool/postfix/lib/x86_64-linux-gnu/libnss_dns.so.2': Operation not permitted
chown: changing ownership of '/var/spool/postfix/lib/x86_64-linux-gnu/libnss_nisplus-2.27.so': Operation not permitted
chown: changing ownership of '/var/spool/postfix/lib/x86_64-linux-gnu/libresolv.so.2': Operation not permitted
chown: changing ownership of '/var/spool/postfix/lib/x86_64-linux-gnu/libgcc_s.so.1': Operation not permitted
chown: changing ownership of '/var/spool/postfix/lib/x86_64-linux-gnu/libnss_files-2.27.so': Operation not permitted
chown: changing ownership of '/var/spool/postfix/lib/x86_64-linux-gnu/libnss_nisplus.so.2': Operation not permitted
chown: changing ownership of '/var/spool/postfix/lib/x86_64-linux-gnu/libnss_files.so.2': Operation not permitted
chown: changing ownership of '/var/spool/postfix/lib/x86_64-linux-gnu/libnss_hesiod.so.2': Operation not permitted
chown: changing ownership of '/var/spool/postfix/lib/x86_64-linux-gnu/libnss_hesiod-2.27.so': Operation not permitted
chown: changing ownership of '/var/spool/postfix/lib/x86_64-linux-gnu': Operation not permitted
chown: changing ownership of '/var/spool/postfix/lib': Operation not permitted
chown: cannot read directory '/var/spool/postfix/maildrop': Permission denied
chown: cannot read directory '/var/spool/postfix/active': Permission denied
chown: changing ownership of '/var/spool/postfix/etc/host.conf': Operation not permitted
chown: changing ownership of '/var/spool/postfix/etc/services': Operation not permitted
chown: changing ownership of '/var/spool/postfix/etc/nsswitch.conf': Operation not permitted
chown: changing ownership of '/var/spool/postfix/etc/resolv.conf': Operation not permitted
chown: changing ownership of '/var/spool/postfix/etc/hosts': Operation not permitted
chown: changing ownership of '/var/spool/postfix/etc/localtime': Operation not permitted
chown: changing ownership of '/var/spool/postfix/etc/ssl/certs/ca-certificates.crt': Operation not permitted
chown: changing ownership of '/var/spool/postfix/etc/ssl/certs': Operation not permitted
chown: changing ownership of '/var/spool/postfix/etc/ssl': Operation not permitted
chown: changing ownership of '/var/spool/postfix/etc': Operation not permitted
chown: changing ownership of '/var/spool/postfix/pid/master.pid': Operation not permitted
chown: changing ownership of '/var/spool/postfix/pid': Operation not permitted
chown: cannot read directory '/var/spool/postfix/defer': Permission denied
chown: cannot read directory '/var/spool/postfix/flush': Permission denied
chown: cannot read directory '/var/spool/postfix/trace': Permission denied
chown: cannot read directory '/var/spool/postfix/bounce': Permission denied
chown: changing ownership of '/var/spool/postfix/': Operation not permitted
ubuntu@ip-172-31-39-119:~$ Permission denied^C
ubuntu@ip-172-31-39-119:~$ ^C
ubuntu@ip-172-31-39-119:~$ chown -R postfix /var/lib/postfix/
chown: changing ownership of '/var/lib/postfix/master.lock': Operation not permitted
chown: changing ownership of '/var/lib/postfix/': Operation not permitted
|