liamloveslearning Posted February 2, 2010 Share Posted February 2, 2010 Hi everyone, im having a major headache with my host, I cant change file permissions via ftp as it says directory doesnt exist when it blatently does, and when I try and do it through the webmin section online java seems to say it doesnt trust the server, This may be a stupid question but is it possible to use htaccess to force change permissions on such files and directories?? Quote Link to comment https://forums.phpfreaks.com/topic/190656-file-permissions/ Share on other sites More sharing options...
trq Posted February 2, 2010 Share Posted February 2, 2010 This may be a stupid question but is it possible to use htaccess to force change permissions on such files and directories?? No. If you have shell access you can set the sticky bit on directories though. This will ensure there contents are set with the same permissions. Quote Link to comment https://forums.phpfreaks.com/topic/190656-file-permissions/#findComment-1005464 Share on other sites More sharing options...
liamloveslearning Posted February 2, 2010 Author Share Posted February 2, 2010 so if i changed the parent directory it would apply to all those within it essentially? Thanks thorpe Quote Link to comment https://forums.phpfreaks.com/topic/190656-file-permissions/#findComment-1005467 Share on other sites More sharing options...
oni-kun Posted February 4, 2010 Share Posted February 4, 2010 so if i changed the parent directory it would apply to all those within it essentially? Thanks thorpe There is a little function called recursion that could be checked, if you wish that so. Quote Link to comment https://forums.phpfreaks.com/topic/190656-file-permissions/#findComment-1006606 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.