permission denied when uploading a local file
the file permission is admin:sole-group = rw:rw
I add the user "support" into the group of "sole-group" and use it to upload the file, and got this error. I suspect the group membership is not correctly configured. The id only shows the main group id of the user "support", though /etc/group shows the user "support" indeed is in the group of sole-group. What could be wrong? |
Quote:
|
Quote:
Code:
|
Quote:
Are those the details for the CLIENT or the SERVER? Does the directory on the remote server have permissions for anyone but non-root people to write to it? What FTP server are you using? What client? Has this ever worked??? |
Quote:
Code:
[support@myhost]$ ftp external-ftp-server When I upload a file belonging to user support itself, it's no problem. When I upload the same file under root, it's no problem. For root and support, I use the same upload-user, so I think the problem is with the privilege of user support locally... |
Quote:
Quote:
Change the permissions on the remote directory to allow user writes. You still don't say anything about the remote server, or address any of the other questions asked, so there's little more we can say. |
Quote:
scenario one ============ login as root, start a FTP client connecting to remote FTP server. The credentials for FTP are upload/password for example. Upload the file. Works. scenario two ============ login as support, start a FTP client connecting to remote FTP server. Use the same credentials as scenario #1, upload the file. Failed. error is local: autobackup remote: autobackup local: autobackup: Permission denied So, the difference lies on the local, not remote side. Agree? |
Quote:
|
All times are GMT -5. The time now is 11:54 AM. |