[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] FTP problems



Dan,

Change to the directory and issue the following command:

ls -l

Look at the entire line, and compare it to the rest of your files.  If you
can't access it, it may look like:

-rw-r-----     1 root     root       601397 Oct 25 19:47 ddebug.log

If that is the case, it means the following:

The user "root" has read / write
The group "root" has read only
The world can not access it.

What I would do

su <enter root password>

chown user:group filename 

Where: 	User = The user of the rest of the files
		Group = The group of the rest of the files
		Filename = The name of the file.

chmod 644 filename

What that does:
	6 = Read / Write
	4 = Read
	4 = Read

Now, the user has read/write, group has read, and the world has read.

Some people may say don't let the world see it, but if it is NOT sensitive
information, it shouldn't matter.

Try to generate some "404" Error again, and see if you can see it.

Just an FYI, if my understanding is right, the user should be: httpd and the
group should be httpd or siteX.

Brian Smith 
CCNA, NCSA
Network Support Engineer
SOLUSERVE
       www.solunet.com
1571 Robert J. Conlan Blvd., Suite 110
Palm Bay, FL  32905
(888)449-5766
fax: (321)-308-7986


-----Original Message-----
From: Dan Donald 
Sent: Tuesday, March 19, 2002 12:44 PM
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: [cobalt-users] FTP problems


Hi,

I seem to be experiencing a strange problem when FTPing to the server as the
server admin user.
I can perform normal up/download/chmod functions no problem but very often
not on sites (with no common link it seems) and on files from the root of
the server.

Example - I'm trying to learn how to customise the Cobalt interface and have
found where the files are located.  I've slightly altered one as a test (the
404 file) and want to upload it.  It comes up with an error 550 Permission
denied.

This is the main user for the server but not 'root' as I've heard that's not
a good thing.  Any idea why I'm experiencing this problem.
Any advice would be appreciated...


Dan Donald
reach multimedia