matrixcubed
12-21-2002, 05:27 PM
Hello all,
I've got one user, joe, who is part of group joe and ftpuser. I have used chroot to change joe's home directory to a separate drive (which used to be on a Windows machine) that contains directories accessible through /mnt/netroot/ftp.
I'm trying to add write-capabilities to joe, so that when users log in via FTP (ProFTPd is the server software), they have write access to either some or all of the directories located at /mnt/netroot/ftp.
My dilemma is that I am unable, even when logged in as root, to change ownership of files or folders. I am using:
chown -R joe:ftp ftp/
when the current directory is:
/mnt/netroot/ftp
The error I get is:
chown: changing ownership of `ftp/(directory)/(file)/': Operation not permitted
This occurs for each file below the current path.
Any ideas? I have not come across any limitations in the man pages regarding what I am attempting. Also, I am logged in as root when trying the above. I should also mention, this drive is FAT32-formatted.
I've got one user, joe, who is part of group joe and ftpuser. I have used chroot to change joe's home directory to a separate drive (which used to be on a Windows machine) that contains directories accessible through /mnt/netroot/ftp.
I'm trying to add write-capabilities to joe, so that when users log in via FTP (ProFTPd is the server software), they have write access to either some or all of the directories located at /mnt/netroot/ftp.
My dilemma is that I am unable, even when logged in as root, to change ownership of files or folders. I am using:
chown -R joe:ftp ftp/
when the current directory is:
/mnt/netroot/ftp
The error I get is:
chown: changing ownership of `ftp/(directory)/(file)/': Operation not permitted
This occurs for each file below the current path.
Any ideas? I have not come across any limitations in the man pages regarding what I am attempting. Also, I am logged in as root when trying the above. I should also mention, this drive is FAT32-formatted.