• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue FTP-User - rights

Maliu

New Pleskian
Hello guys,

at the moment we have problems with our Plesk Onyx installation. Our customer has created an FTP user with the subdirectory "dev". If he upload files with this FTP user he get an "Respuesta: 550 VERSION: Permission denied" error but if he use his FTP user with the normal base directory (/) is the upload possible.

Do you have ideas? :)

Thanks in advance.

--
Maliu
 
/dev is a system folder owned by root in the chrooted bash environment. For other users it only has read and execution permissions. For that reason, it is not possible to upload (write) files into it from another user account. I discourage changing permissions of /dev.
 
You should not change the permissions, but leave it as it is. It does not make sense to enable a user account to upload stuff into /dev. It is a system directory. "dev" stands for "device". You don't want users to do anything in that directory.
 
Hey,

I think you mean something different. Its a normal customer and he created a new ftp subuser for the directory /dev-eva/ (for clarity I have shortened the folder at the first post). He have no access to SSH.

For example:

User can upload files to /dev-eva/ if he have no restrictions in Plesk (directory: /)
User cannot upload files to /dev-eva/ if this is his restricted folder in Plesk (directory: /dev-eva/)
 
I cannot reproduce that issue for /dev-eva. Is the directory owned by the subscription user and does it belong to group psacln? Are the permissions set to rwxr-xr-x or at least rwxr-x---?

# ls -la | grep dev-eva
drwxr-xr-x 2 USER psacln 4096 Feb 13 18:16 dev-eva
 
Hey,

thanks for your reply. Sorry at the moment i'm in the USA. The rights belongs to the main ftp user account:

drwxrwxrwx 7 vkouchjq psaserv 4096 Feb 15 00:03 demo-eva

The user which should have rights to "demo-eva" is "ftp_evademo". Do you have any ideas?

Thanks in advance.
 
In your previous post the directory was /dev-eva, not /demo-eva. Maybe you have simply set the FTP home directory to a wrong directory name?
 
O.k., I assume that the directgory is /demo-eva, that the permissions are set
drwxrwxrwx 7 vkouchjq psaserv 4096 Feb 15 00:03 demo-eva
and that the ftp user's home directory should be /demo-eva. But the user cannot write to that directory.

Please copy the FTP transaction log from your FTP software that shows the write-permission error for further analysis. Please also look at the "xferlog" file and copy the log entries regarding the transfer attempt from it here.
 
Back
Top