Koozali.org: home of the SME Server

URGENT - File Permissions

Bobby

URGENT - File Permissions
« on: February 21, 2002, 04:23:31 AM »
G'day.

Configureation:
* e-Smith user called joe
* directory in joe's home directory called webserver
* entry in fstab connecting webserver to a remote NT machine share

Problem:
* when joe comes in via ftp he can traverse the tree on the NT machine via the webserver directory
* joe cannot write (create directories, files, etc) in webserver or anything beneath it
* joe can download files from there

I cannot change the permissions on webserver and below, even logged in as root via SSH.  My guess is that the problem is that I am trying to set permissions on the NT box and it will not let me.  If I do a "chmod 777 webserver" I get no error, but it still shows "drwxr-xr-x    1 root     root          512 Feb 20 14:15 webserver".  Seems root owns everything in this directory and below.  The system will not allow me to change the owner, either.

We need to be able to ftp up and down to the windows box.  I beleive Linux is a much better ftpd than what ships with Micro$oft so I would like to make this work.

Thanks.

/B

Bobby

Re: URGENT - File Permissions
« Reply #1 on: February 21, 2002, 04:25:10 AM »
(more)
BTW, the file permissions on the NT box are set to everyone.

/B

unknown

Re: URGENT - File Permissions
« Reply #2 on: February 21, 2002, 05:14:34 PM »
Might be worth a try to type chmod 0777 or change it from midnight commander.

I noticed you type chmod 777, not sure if make difference but i always use chmod 0777

Hope this is of any help

Mr X