October 16, 201015 yr I'm having difficulties changing the permissions of a directory. When I attempt CHMOD a folder to 777, I get the error: 550 Could not change perms on test: No such file or directory. I was told to change my server from Windows to Linux but that hasn't helped. I'm also using streamline.net as a host if that helps. Any suggestions would be great, I'm getting so frustrated with this! Thanks
October 16, 201015 yr can you give the full cmd your using... as your using a incorrect folder path/name as stated in the error...
October 16, 201015 yr Author can you give the full cmd your using... as your using a incorrect folder path/name as stated in the error... I'm trying to change the folder: http://www.glimpsesofmagdalenstreet.co.uk/test/ Is this what you need?
October 16, 201015 yr I may have misread the query, but have you tried FTP'ing in using FileZilla, navigating to the folder, right clicking and changing the file permission manually that way?? Kyle
October 16, 201015 yr to be fair i think ive miss read what your post was asking... im a little confused on what your trying to actually do... try adding a file called index.html into the root and you wont get a no DIR listing error i was after the command i thought you were using but seams your using a program and not the cmd line... also your account is run by IIS still so its still a windows box... from your first post it seamed you had changed to linux.... Edited October 16, 201015 yr by SniderDK
October 16, 201015 yr Author I may have misread the query, but have you tried FTP'ing in using FileZilla, navigating to the folder, right clicking and changing the file permission manually that way?? Kyle That's exactly what I've been trying. Is there another way to CHMOD the folder?
October 16, 201015 yr what are you trying to get done... as a) the directory listing thing you had isnt todo with permissions its a IIS setting and windows doesn't have file permissions
October 16, 201015 yr That's exactly what I've been trying. Is there another way to CHMOD the folder? It can be done via command line, though I have never done this way. I assumed from the post that you had been trying to do it this way. Have you tried changing it to 755 instead of 777? I have heard sometimes there are issues with a server changing to 777. As mentioned above, have you got an index.html file? I couldn't find one...
October 16, 201015 yr Author what are you trying to get done... as a) the directory listing thing you had isnt todo with permissions its a IIS setting and windows doesn't have file permissions I'm trying to test a PHP upload script, and apparently I need to change the permissions of the upload directory to 777. So I used filezilla to connect to the site, created the directory, right clicked > file permissions, ticked all the boxes (777) but i still get the same error. Sorry, I'm quite new to all this.
October 16, 201015 yr Author It can be done via command line, though I have never done this way. I assumed from the post that you had been trying to do it this way. Have you tried changing it to 755 instead of 777? I have heard sometimes there are issues with a server changing to 777. As mentioned above, have you got an index.html file? I couldn't find one... I didn't have an index file originally, but I've just uploaded one and tried again with the same results. Also tried 755 but that returned the same error
October 16, 201015 yr your having problems because you are trying to use Linux stuff on windows which has not got a frigging clue what 755 means... i don't use Windows for ether desktop or server mainly for that reason (other than im not paying for crap software when theres awesome software for FREE!!!)... anyway. the only problem you might get is that when PHP uploads it will get put into the windows temp folder and will inherit the permissions of the temp folder... when its moved windows preserves those permissions (dont ask me why??) meaning it wont be accessible in the new location... this post might help... but as i say i stear clear from windows so could be well off (if you dint mention you had moved to linux i wouldn't of posted ) http://social.technet.microsoft.com/Forums/en-US/itprovistasecurity/thread/fe6fc533-8688-4faf-848c-ba98cd6d6ec0
October 16, 201015 yr Author your having problems because you are trying to use Linux stuff on windows which has not got a frigging clue what 755 means... i don't use Windows for ether desktop or server mainly for that reason (other than im not paying for crap software when theres awesome software for FREE!!!)... anyway. the only problem you might get is that when PHP uploads it will get put into the windows temp folder and will inherit the permissions of the temp folder... when its moved windows preserves those permissions (dont ask me why??) meaning it wont be accessible in the new location... this post might help... but as i say i stear clear from windows so could be well off (if you dint mention you had moved to linux i wouldn't of posted ) http://social.technet.microsoft.com/Forums/en-US/itprovistasecurity/thread/fe6fc533-8688-4faf-848c-ba98cd6d6ec0 Thanks for the help, I did change to a linux server, but I've just noticed that the server is still showing as windows in the control panel. I guess I'll wait 24 hours for it to update as stated and try again. Thanks for all the help and patience guys
October 16, 201015 yr ok cool... well when it does switch your FTP client will be able to handle the permissions no probs if not this should work via command line chmod 0777 ~/htdocs/test [~ means the users home dir so in theory the above command would work on a streamline linux account]
Create an account or sign in to comment