Unable to delete file (permissions error)

Come here to discuss FileZilla and FTP in general

Moderator: Project members

Post Reply
Message
Author
awebmanager
500 Command not understood
Posts: 2
Joined: 2021-02-23 15:26

Unable to delete file (permissions error)

#1 Post by awebmanager » 2021-02-24 09:08

Hi,

I have a very large zip file (16gb) in my httpdocs directory that I need to remove but when trying to delete through FileZilla I get "550 myfilename.zip: Permission denied". It has the permissions 664 on it along with most other files in the httpdocs folder. If I try and change to e.g. 775 on that file I get "550 CHMOD 775 myfilename.zip: Operation not permitted". When using the Plesk file manager instead I get "Unable to remove /httpdocs/myfilename.zip: filemng failed: filemng: Error occurred during /bin/rm command." I've looked that error up and it seems one solution is to change the file permissions on the file's parent directory to recurse into the files, but if I do that on httpdocs it will change the permissions for thousands of files in all the directories, which I don't want. It seems I can't upload files to httpdocs either as I get "Permission denied Critical file transfer error". Am I just stuffed unless the server admin will agree to change my permissions? I'm not familiar with using SSH, but not sure if that would help anyway, if it's a server permissions issue.

Thanks :)

User avatar
boco
Contributor
Posts: 25507
Joined: 2006-05-01 03:28
Location: Germany

Re: Unable to delete file (permissions error)

#2 Post by boco » 2021-02-24 17:49

That can only be resolved by the server Administrator. You need to contact server support as you are not allowed to rectify permissions by yourself (privilege escalation would be a security vulnerability in this case).

I'm not a Linux expert at all, but with the permissions being 644 (owner rw, group r, user r) and you being unable to write, it looks like you accidentally lost ownership of your httpdocs directory.
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Do yourself a favor and read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###

awebmanager
500 Command not understood
Posts: 2
Joined: 2021-02-23 15:26

Re: Unable to delete file (permissions error)

#3 Post by awebmanager » 2021-02-25 09:43

Thank you for the reply! I thought it might be something like that... :)

Post Reply