NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Wilco87
Sep 15, 2013Aspirant
Setting CHMOD permissions to folder inside share.
Hi there, I am running a small webserver on my Readynas Duo. Now I have PHP addon installed and I am working with a few scripts. For a few scripts I need to set the CHMOD acces to for example 755. ...
Wilco87
Sep 15, 2013Aspirant
Already A small update,
I am still playing with SSH CHMOD command.
What I have been doing is the following. ( the share folder is "site" )
After accesing the root on Putty
This works and go's to the " site " folder / share.
When I use the " ls " command I indeed see the folders and files. So now I did the following lines for CHMOD.
Now that i did this, I used the " ls -l " command to see the file/ folders persmissions. The output is that it changed indeed
Both files have the following permission.
This should be it, now they should have 755 permission if I am not wrong. But still when I check it in the script, it still doesnt work.
Already restarted the HTTP by changing the read only to read and write in the " shares " in front view. I indeed get the message that its restarting the HTTP.
Also I rebooted the whole nas, still it wont work.
I am still playing with SSH CHMOD command.
What I have been doing is the following. ( the share folder is "site" )
After accesing the root on Putty
cd /site/
This works and go's to the " site " folder / share.
When I use the " ls " command I indeed see the folders and files. So now I did the following lines for CHMOD.
chmod 775 foldername
chmod -R 775 foldername
chmod 775 other folder
chmod -R 775 otherfolder
Now that i did this, I used the " ls -l " command to see the file/ folders persmissions. The output is that it changed indeed
Both files have the following permission.
drwxr-xr-x
This should be it, now they should have 755 permission if I am not wrong. But still when I check it in the script, it still doesnt work.
Already restarted the HTTP by changing the read only to read and write in the " shares " in front view. I indeed get the message that its restarting the HTTP.
Also I rebooted the whole nas, still it wont work.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!