NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

Wilco87's avatar
Wilco87
Aspirant
Sep 15, 2013

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.

3 Replies

Replies have been turned off for this discussion
  • 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

    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.
  • after spending another 3 to 4 hours to this, I gave up. I hope someone can help me further with this problem.

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More