I have a root folder with the permissions as
drwxr-xr-x
All the folders that are in the root directory has the same permissions.
drwxr-xr-x
I have a PHP script which creates a PDF file on the Server (Which is on one of the folders in the root directory) and because of the limited permissions am unable to create the pdf file in the folder.
I wanted to Change the Access permissions of the Folder and tried the below command
chmod g+w Images (Images is a folder)
It executes and gives me nothing and when I try
ls -l (The permissions are same and it didn't change)
drwxr-xr-x (The write permissions are missing to generate the pdf file)
When I try
mkdir -m 775 imagetest
It Returns me with "mkdir: cannot Change permissions of 'imagetest': Permission denied"
The Imagetest Folder is created with the same permissions as
drwxr-xr-x
Can anyone help me out here. I was struck at this Point on changing the folder permissions.
From the comments, when I try
ls -ld Images
drwxr-xr-x 1 ZUHTRF6 1049089 0 May 25
Images
, where you runchmod g+w Images
, please then run the commandls -ld Images
and put the result in your question.ls -ld
again. Please stop doing that and instead put the entire result in your question. Presumably up next to yourchmod g+w Images
command?