When I add a directory under upload with the option Content - Image Manager (or File Manager) - Create new Folder I can´t upload anything in these folders. I think the user rights are not set properly. The right are 755. I use CMSMS 0.12beta2.
What am I doing wrong !!??
Musicscore
Creating directory´s
-
dirtywhitellama
Re: Creating directory´s
I dont know anything about your problem specifically but in the installation tutorial it says to set rights to your folders as 777... maybe that will help.
-
jelle
Re: Creating directory´s
Unix permission have a user and group as wel as a permission byte (written as 777 or 755 here) If you already own the file, it does not matter what the rights for 'group' or 'other' are. If you have created the file/directory yourself, chances are very big that you own it too.
But to be sure you need to look at the file owner/group too instead of only looking at the permissions mode.
Check your error log too, it might contain a clue why it cannot do what you are trying to do.
But to be sure you need to look at the file owner/group too instead of only looking at the permissions mode.
Check your error log too, it might contain a clue why it cannot do what you are trying to do.
-
calguy1000
- Support Guru

- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Creating directory´s
from the "chmod" man page
speicifically, the rights are (in binary, groups of 3 bits):
owner group user
rwx rwx rwx
therefore, if the mode is 777, all users have the ability to read, write and execute the file.
therefore, you need to know the user, and group id that the web server process is running as, as well as your user id, and group id.
if the user id, and group id is different, and you are trying to upload files unsuccessfully, then I would suggest setting the permissions on the uploads directory) to 766, (rwx for owner, rw for group, and rw for user). Although this is not the best setting for permissions, it should certainly help you past this problem.
speicifically, the rights are (in binary, groups of 3 bits):
owner group user
rwx rwx rwx
therefore, if the mode is 777, all users have the ability to read, write and execute the file.
therefore, you need to know the user, and group id that the web server process is running as, as well as your user id, and group id.
if the user id, and group id is different, and you are trying to upload files unsuccessfully, then I would suggest setting the permissions on the uploads directory) to 766, (rwx for owner, rw for group, and rw for user). Although this is not the best setting for permissions, it should certainly help you past this problem.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
-
jelle
Re: Creating directory´s
Unix permission have a user and group as wel as a permission byte (written as 777 or 755 here) If you already own the file, it does not matter what the rights for 'group' or 'other' are. If you have created the file/directory yourself, chances are very big that you own it too.
But to be sure you need to look at the file owner/group too instead of only looking at the permissions mode.
Check your error log too, it might contain a clue why it cannot do what you are trying to do.
I just tried to reproduce this in svntest or 0.12beta2, but I could not. The closest I got was by having the wrong permission on the uploads directory, but then you can't create the directory in the first place.
But to be sure you need to look at the file owner/group too instead of only looking at the permissions mode.
Check your error log too, it might contain a clue why it cannot do what you are trying to do.
I just tried to reproduce this in svntest or 0.12beta2, but I could not. The closest I got was by having the wrong permission on the uploads directory, but then you can't create the directory in the first place.
-
musicscore
- Power Poster

- Posts: 498
- Joined: Wed Jan 25, 2006 11:53 am
Re: Creating directory´s
Can it be the because my webhoster is having "PHP SAFE MODE" = on.
Musicscore
Musicscore
