mpi

Well-Known Member
Mar 29, 2006
83
0
156
i had this included in an old post but i can't find the old post now.

except for the root account, whatever other accounts there are, they can't write,rename, or do anything to the files.

in other words, root is the only way my users can upload or edit their files....someone posted that it has something to do with the permissions.....how can i fix this?
 

madaboutlinux

Well-Known Member
Jan 24, 2005
1,051
2
168
Earth
Root will always have access to all the files and folders irrespective of permissions and ownership.

To check the permission and ownership of a file. Goto the particular directory by 'cd' command and then type :-
ls -la filename << TO check permission and ownership.

To change the ownership for a directory :-
chown username:username directoryname -R
 

mpi

Well-Known Member
Mar 29, 2006
83
0
156
ty

thank you, what you guys seemes to have worked since the permissions changed....but the account itself isn't working....when itry to ftp, it says host "ip address" or "Host" not found.......it makes no sense because i can still login with root....:confused:
 

mpi

Well-Known Member
Mar 29, 2006
83
0
156
Help Help Help

HELP FAST....PLEASE!

i jsut tried going to mywebsite after running the chown command, and EVERY page says:

Code:
Forbidden
You don't have permission to access / on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.34 Server at www.domain.com Port 80
i tried putting a bank htaccess in every folder and it didn't do anything, i also restarted apache with no results as well..


someone plese help me fast!
 

mpi

Well-Known Member
Mar 29, 2006
83
0
156
wow

nevemind i figured it out

to shehkar, a part of me hate you for making me go through that....it was riving me crazy...i did a google search and from the info i got i thought it was an apache attack. (which i have no idea what it is).....anyway.....

i don't know if you knew this would happen or not, but next time you want to send that little line of code to someone, tell them that if they do it, no one will be able to access it!!!!

solution to fix was:
Chown username:nobody foler_name -R

...and yes, i did fiure it out ALL by myself. :p