LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Permissions and FTP (https://www.linuxquestions.org/questions/linux-newbie-8/permissions-and-ftp-443059/)

Josh100 05-09-2006 05:31 AM

Permissions and FTP
 
I wonder if anyone can help,

I've set up an ftp server on my mandriva machine, i can upload files fine to to it when logged on as the owner of the directory, but when i try to log in as a different user, but in the same group i can browse files but it says access denied when i try to upload files.

Any ideas?

thanks Josh

satinet 05-09-2006 05:42 AM

i think you need to check the owner ship of the directory, it sounds like the group in question does not have write permisison....

Josh100 05-09-2006 05:53 AM

I think they're right, i've got:

both users are in the group apache
Owner: can view and modify content
Group: can view and modify content
Others: can view content

ownership:
User: josh
Group: apache

satinet 05-09-2006 06:15 AM

yes, but is apache the group on the folder?

ls -l <yourfolder>

Josh100 05-09-2006 06:24 AM

drwxrwxr-x 4 josh apache 4096

that looks right

Agrouf 05-09-2006 06:33 AM

which ftp server are you using please?

Josh100 05-09-2006 07:02 AM

It's ProFTPD.

satinet 05-09-2006 07:30 AM

are you sure you're not over writing files you dont have write permission to?

Josh100 05-09-2006 10:12 AM

nope, definitely not trying to overwrite.


All times are GMT -5. The time now is 12:12 PM.