/opt/monkey/htdocs "Permission Denied"Forum: Apps Topic: /opt/monkey/htdocs "Permission Denied" started by: camzmac Posted by camzmac on Feb. 20 2005,01:16
On an hd install of DSL, whenever I try to place files in /opt/monkey/htdocs regardless if the Monkey webserver daemon is running, it gives me a "Permission Denied".I tried chmodding the folder, and it didn't work. So what could be wrong? Posted by green on Feb. 20 2005,06:20
did you use emelfm as superuser?
Posted by camzmac on Feb. 20 2005,18:23
Yes, emelfm as superuser will give me write access to that folder.BUT: I am setting up a server in DSL on a very old machine, so I am preventing X from starting, just starting the services I need. And since it isn't a good idea to run as root all the time, I just run it as user dsl. And of course, when I connect via FTP I can't upload files to /opt/monkey/htdocs. That is what is driving me insane... Posted by roberts on Feb. 20 2005,18:57
You must be running an older version.Newer versions have group write access for group staff. What was the chmod command that your tried to use? Posted by camzmac on Feb. 20 2005,20:19
Actually I'm running the the newer version, 0.9.3.I used sudo chmod 755 /opt/monkey/htdocs I can write to this directory when I am running DSL off the CD. But after installing it to my hard drive it has this problem. Posted by roberts on Feb. 20 2005,23:24
OK. Try this:sudo chmod g+w -R /opt/monkey/htdocs/ sudo chgrp staff -R /opt/monkey/htdocs This is what the liveCD uses as perms. Posted by camzmac on Feb. 21 2005,02:31
YES! That works. Thank you so much!Adding this to .bash_profile now... yep! works great. |