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. Now I wanna know how to do this.
I am running MS Windows 8 At this moment. Also am installing Xubunutu @ virtual machine right now maybe I can get it that way ?
I try'd to do it with SSH / Putty But also didnt work, the script still doenst have the right acces. The script itself works perfectly because I also run it on an external server.
Hope someone has a anwser for me.
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. Now I wanna know how to do this.
I am running MS Windows 8 At this moment. Also am installing Xubunutu @ virtual machine right now maybe I can get it that way ?
I try'd to do it with SSH / Putty But also didnt work, the script still doenst have the right acces. The script itself works perfectly because I also run it on an external server.
Hope someone has a anwser for me.
3 Replies
Replies have been turned off for this discussion
- Wilco87AspirantAlready 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
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. - Wilco87Aspirantafter spending another 3 to 4 hours to this, I gave up. I hope someone can help me further with this problem.
- Wilco87AspirantNobody who can help me with this problem ?
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!