Alright... Linux newbie, but I've been toying with it for a while now I guess.... here's what I'm wondering.
I have Plesk 7 running on a Fedora web server with Urchin 5. I'm trying to set my statistics up, and for some reason I have come to find out that Plesk 7 sets up by default permissions that are a bit tooo restrictive on the statistics directory, so I need to chmod 755 it. So I SSH into my web server and attempted to take the action, and I get an error that looks liek this:
chmod: changing permissions of `statistics': Operation not permitted
When I try to actually access the directory, it tells me that permission is denied. This is where I begin to get a little bit confused.... I was under the impression that I was logged in as the admin, and thus I would have permission to change whatever I want to. So I guess my first question is how can I go about finding out what my own permissions are? And further, how do I go about giving myself permission to make this permissions change to the directory?
As a side note, I also found a suggestion from a really old thread elsewhere to use the following two commands:
chown -R user:group /home/httpd/vhost/domain.com/statistics
chmod -R 755 /home/httpd/vhost/domain.com/statistics
So I see that there is a user and a group concept goign on here that I need to address.... How do I find out what group I'm in right now, and where I need to be to be able to make this type of a permission change?