btherl Posted July 31, 2007 Share Posted July 31, 2007 Whether or not you need shell access depends on what you are trying to do. Quote Link to comment https://forums.phpfreaks.com/topic/62337-function-lchown/page/2/#findComment-311628 Share on other sites More sharing options...
Devine Posted July 31, 2007 Author Share Posted July 31, 2007 I want to create a folder! ... But it won't let me.. and before, when I tried to create a folder, it set the folder user as "99".. when the site user was 32149 .. but now its 99 and doesnt have access to create a folder :/ Quote Link to comment https://forums.phpfreaks.com/topic/62337-function-lchown/page/2/#findComment-311629 Share on other sites More sharing options...
btherl Posted July 31, 2007 Share Posted July 31, 2007 The SCRIPT user is 99.. the FTP user is 32149. As long as you do not mix ftp and script data together, you will have no problem. If you have shell access, you can use that to change permissions on your files so that user 99 can modify user 32149's files. Quote Link to comment https://forums.phpfreaks.com/topic/62337-function-lchown/page/2/#findComment-311695 Share on other sites More sharing options...
Devine Posted July 31, 2007 Author Share Posted July 31, 2007 But what if I dont have shell access? Quote Link to comment https://forums.phpfreaks.com/topic/62337-function-lchown/page/2/#findComment-311921 Share on other sites More sharing options...
btherl Posted August 1, 2007 Share Posted August 1, 2007 Then you have two options: 1. Keep your ftp files and script files totally seperate. Use a script to create new directories, instead of using ftp. If the script creates a directory, then it will have full permissions in that directory. 2. Ask your hosting provider how you can change permissions on your files. Quote Link to comment https://forums.phpfreaks.com/topic/62337-function-lchown/page/2/#findComment-312437 Share on other sites More sharing options...
Devine Posted August 1, 2007 Author Share Posted August 1, 2007 Then you have two options: 1. Keep your ftp files and script files totally seperate. Use a script to create new directories, instead of using ftp. If the script creates a directory, then it will have full permissions in that directory. 2. Ask your hosting provider how you can change permissions on your files. It wont allow me to use mkdir Quote Link to comment https://forums.phpfreaks.com/topic/62337-function-lchown/page/2/#findComment-312592 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.