56

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.

Ali Razmdideh
  • 5,868
  • 2
  • 36
  • 53
Private
  • 4,084

2 Answers2

98

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
Radu Rădeanu
  • 174,437
-2

"Destination folder is not writable or does not exists."

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

SUNNETmedia
  • 101
  • 1