Right now, I know that I can change permissions for example with:
sudo chmod 550 directory
I wonder how I can check the actual folder permission.
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.
Sign up to join this communityRight now, I know that I can change permissions for example with:
sudo chmod 550 directory
I wonder how I can check the actual folder permission.
You can use the following command:
ls -l directory
or
stat directory
or, if you want to see only the permissions in numeric (octal) format:
stat -c %a directory
on Magento 2.3.1 admin on NGINX Ubuntu 16.04 | AWS Ec2
Solution I Found
cd /var/www/html/pub/media
sudo find . -type d -exec chmod 777 {} \;
add media folder to permissions
550
), or is any format that shows them unambiguously sufficient? (If you don't need them in octal, then Radu Rădeanu's way is the normal way to do this.)