Stingreen
03-14-2002, 07:18 PM
Can a Site Administrator change file permissions without using any telnet or SSH session?
Or is there any possibility that he changed the permission while the file was in his computer and uploaded that way??
I'm asking because today I couldn't log-in one of my clients' cgi-bin directory, it gives an error, permission denied..
I'm the server admin, and permission denied..
Kind of confused here..
Help!!
thank you,
surfsailor
03-14-2002, 07:43 PM
stingreen -
you are able to change permissions through an ftp client. The one thing you have to remember is that there are group and user permissions.
The cobalt sets up each virtual site with its own group name (whatever the site number is) - For example, group home=main virtual site on the raq. Site1=the first virtual site you added, site2 ...... and so on.
The admin user is part of the home group - look at the passwd file and you will see - he is also part of a couple others - /etc/group will tell you that as well.
Whatever the case, you logged in as admin, and the cgi-bin being part of another group, and owned by the siteadministrator will not let you have access.
Regards,
- Surf!
Stingreen
03-14-2002, 08:33 PM
Hmm, I think I got it now, setting the attributes via FTP, huh? :)
Ok, one more thing about these groups, cause I really couldn't understand about who is in which group etc..
For instance,
Can you explain the following lines,(it's from /etc/group )
at the far left "site1" let's say, is that the group name?
and the number after the "site1" --> 112.. what is that?
site1:x:112:admin,rocky1
site2:x:113:admin
site3:x:114:admin,hera
site4:x:115:admin,perando,chicago1
site5:x:116:admin,olisysco
site-adm:x:111:admin,rocky1,hera,perando,olisysco
Thank you much.