Do these 3 things before closing this tab:
1Repair Windows errors before they cause bigger problems2Scan for outdated or missing drivers - takes under a minute3Clear out junk files and repair common Windows errorsFTP error 553 means vsftpd refused to create the destination file. On CentOS 7, the cause is usually one of four layers: the path exposed by chroot or local_root, Linux directory permissions, vsftpd upload settings, or SELinux policy. You can often list files while uploads fail because listing requires read access, whereas creating a file requires write and execute access on the destination directory. This guide explains why FTP says “553 Could not create file on CentOS 7,” why you can list files but not upload, and how to fix vsftpd 553 permissions without making the server broadly writable.
Antihost offers Linux VPS plans with full root access, unlimited traffic on a 1 Gbps port and a 14-day free trial.
What FTP 553 means on CentOS 7
The server has accepted your login and the upload command, but it cannot create the requested file at the destination. The refusal is generated on the server; changing the FTP client rarely fixes it.
As an Amazon Associate I earn from qualifying purchases.
Work through the checks in this order:
- Find the exact path the FTP session can see after
chroot_local_user,local_root, and per-user settings are applied. - Verify Linux ownership and directory permissions for that path and every parent directory.
- Confirm that vsftpd allows writes for the type of account being used.
- Check SELinux labels, booleans, and audit records.
A directory listing is not an upload test. The account may have enough permission to read directory entries but lack the combination of write and execute permission needed to create a new file.
1. Confirm the FTP-visible path before changing permissions
A common mistake is fixing a host path that is not the path the FTP session reaches. A local user may be placed in a chroot jail, and local_root or a per-user configuration file may change the starting directory.
#1 Best Overall
- BLUE LIGHT BLOCKING GLASSES: Our blue light glasses for women boast UV400 protection, blocking harmful blue rays from computer screens. With these bluelight glasses women, you can enjoy gaming, reading, or watching TV with no worries of eye strain.
- EYE RELIEF: Our blue light glasses are engineered to reduce blurry vision or strain caused by prolonged screen time. These womens blue light glasses aid in better sleep by preventing blue light from disrupting your natural sleep cycle, helping you fall asleep faster and enjoy a more restful night's sleep, making them the perfect christmas present.
- COMFORTABLE: Crafted from durable material, our trendy blue light glasses for woman or blue light glasses men ensure long-lasting comfort. The high-transmittance lenses accessories, gamer gifts for men, help keep your eyes relaxed. Perfect stocking stuffers, gifts for gamers men, christmas gifts for men, halloween costumes.
- LIGHTWEIGHT: These clear blue light glasses feature a lightweight frame, meaning they’ll stay comfy for long-term wear. Perfect as blue blockers glasses for women or mens blue light glasses, these non-prescription fake glasses for men can be worn throughout the day. The blue light blocking glasses women feature polycarbonate HD lenses, which are anti-reflective and restore true color.
- WORRY-FREE PURCHASE: If you experience any issues, our support team is ready to assist you quickly. These are the perfect costume glasses for cosplay dressing up.
Check from the FTP client
- Connect with the affected account.
- Run
pwdto display the session’s current directory. - Run
ls -laand identify the directory where the client is attempting to upload. - Change to the intended upload directory with
cd directory-name, then runpwdagain.
Record the FTP-visible path exactly. A path shown as / inside the client may correspond to a deeper directory on the host when the session is chrooted.
Compare the server configuration
On the server, inspect the effective global settings:
grep -E '^(local_root|chroot_local_user|user_config_dir|write_enable|local_enable|anonymous_enable|anon_upload_enable|local_umask)' /etc/vsftpd/vsftpd.conf
If user_config_dir is set, inspect the file named for the login account as well. For example:
grep -v '^[[:space:]]*#' /etc/vsftpd/user_conf/ftpuser
A per-user file can override the global local_root, chroot behavior, or other options. Make sure the directory you inspect on the host is the one mapped to the FTP-visible location.
2. Fix Linux ownership and directory permissions
For a normal authenticated upload, the FTP account needs write (w) and execute (x) permission on the destination directory. Execute permission lets the process enter and modify directory entries; write permission permits creating or removing names. The account also needs execute permission on every parent directory in the path.
Inspect the complete path
Run these commands as root, replacing the example path and account:
Recommended Free Tools
namei -l /srv/ftp/uploads
ls -ld /srv/ftp /srv/ftp/uploads
id ftpuser
namei -l exposes permissions on each component, which is useful when the final directory looks writable but a parent blocks traversal. id shows the user’s primary and supplementary groups.
Rank #2
- WINDEX GAMING WIPES: effortlessly clean all your gaming gear and gaming electronics in one easy step with our new Windex Gaming Wipes
- AMMONIA FREE: our ammonia-free formula is safe to use on all of your favorite gaming equipment like consoles, headsets, controllers, screens, keyboards, and more
- PRE-MOISTENED WIPES: each wipe instantly removes dust, dirt, and stubborn smudges and fingerprints leaving a streak-free shine
- ANTI-STATIC: great for cleaning and wiping down your gaming gear and electronics leaving behind no visible residue
- COMPACT RESEALABLE PACKAGE: store your pack of Windex Gaming Wipes anywhere in your home for whenever a quick and easy wipedown is needed
Correct ownership or group access narrowly
If the upload directory belongs to the wrong account, assign ownership only to the intended directory:
chown ftpuser:ftpusers /srv/ftp/uploads
If several accounts should upload, use a dedicated group and grant group access:
groupadd ftpusers
usermod -aG ftpusers ftpuser
chown root:ftpusers /srv/ftp/uploads
chmod 2770 /srv/ftp/uploads
The 2 in 2770 sets the setgid bit, causing new files and subdirectories to inherit the directory’s group. Reconnect the FTP session after changing group membership so the new supplementary group is picked up.
Free tools Windows power users keep installed
One-click scans. No signup required.
Do not solve a single-account problem with chmod -R 777 or by making the entire FTP tree world-writable. Broad write access lets any process or account that can reach the directory alter uploaded content.
Check the parent directories
If the destination is /srv/ftp/uploads/incoming, the account must be able to traverse /srv, /srv/ftp, and /srv/ftp/uploads. A parent can remain non-writable while still granting the account execute permission. Only the directory in which the file is created normally needs write permission.
3. Verify vsftpd upload settings
Correct Unix permissions do not help when vsftpd itself has uploads disabled. The required options depend on whether the login is a local system user or an anonymous session.
Authenticated local users
In /etc/vsftpd/vsftpd.conf, confirm:
local_enable=YES
write_enable=YES
local_enable permits system-user logins; write_enable is the master switch for commands that change the filesystem, including uploads. A missing or commented option uses the package default, so set the intended value explicitly.
Outdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware matchWindows Errors? Fix Them Before They Spread
Repair common Windows errors and clear accumulated junk for a smoother, more stable PC - no reinstall needed.Free scan · no reinstallRank #3
- Ergonomic & Adjustable Design: Fight "text neck" and improve your posture. Designed for comfort, it offers an adjustable height (7.1in-8.5in) (1.4in adjustable range) and angle (5°-85°) Please note: cell phone stand is only 9 inches tall—the length of a standard pencil
- Without blocking subtitles Perfect for office desk Tiktok Face Time Zoom video—this is the ultimate kitchen desk essential for phones! Perfect viewing experience while reducing neck back strain, A must-have for gamers streamers desk, and anyone who values both style and support!
- Sleek & Stable Design fits Otterbox Case: Say goodbye to bent cables, tangles, and tip-overs! LISEN’s stylish adjustable desk phone holder features a built-in charging hole and smart cable management, keeping your phone secure and your workspace clutter-free cool gadgets for men
- ANTI-SLIP DESIGN free hands: The under 10.00 items easy gadgets back and the bottom of this kitchen essentials for women are fully covered by anti-skid silicone, which LISEN stand up desk decor can provide maximum protection device from any scratches and slides
- Your Perfect Viewing Companion:If your product arrives damaged or breaks within 365 days, reach out to LISEN for a quick and hassle-free solution. Struggling with assembly, like tightening the screw? We’ve got your back! Your experience matters to us. (Product including: phone Holder stand*1, screw*1, hexagon screwdriver*1, specification*1)
Anonymous uploads
Anonymous access has separate controls. The server must permit anonymous login and anonymous writing, and the target directory must be intentionally writable for the anonymous service account. Review the relevant options together:
anonymous_enable=YES
write_enable=YES
anon_upload_enable=YES
Never enable anonymous uploads merely to test a local-user problem. Anonymous write access should be limited to a dedicated drop directory, with ownership, permissions, and content handling designed for untrusted uploads.
Review path and umask settings
local_root can place a user in a different directory than expected. local_umask changes the mode bits on newly created files; it normally does not prevent creation when the directory itself is writable, but an overly restrictive value can make the resulting file unusable to the intended reader. Check per-user files under the configured user_config_dir because they may override global values.
4. Handle chroot placement safely
vsftpd commonly runs local sessions inside a chroot jail. The jail base and the writable upload directory have different roles. In configurations that enforce a non-writable jail root, the base directory must not be writable by the jailed user; place a writable child below it instead.
Use a non-writable base and writable child
A typical layout is:
/srv/ftp/ root:root, not writable by ftpuser
/srv/ftp/uploads/ ftpuser:ftpusers, writable by the upload account
Set local_root=/srv/ftp (or the appropriate per-user root), keep the base protected, and direct the client into /uploads. The exact layout must match the FTP client’s pwd output; do not assume that a host path beginning with /srv/ftp is visible as that same absolute path inside the session.
Recognize a mapping error
If ls -la shows a directory but an upload to a similarly named host directory returns 553, compare the client path with the resolved local_root and chroot. The server may be presenting a different directory, or the intended child may not exist inside the jail. Create the child in the jail tree and grant it the narrow write permission required by the account.
5. Check SELinux, which can deny a writable directory
SELinux can reject a file creation even when Unix mode bits and ownership are correct. Check its state and the label on the actual destination:
Rank #4
- Easy Installation: Our gaming lights have been designed to enhance your entertainment experience. Simply position the led light bar next to your TV or game console to create a game room environment with ease. They come with USB power and a 60 inch cord for direct mounting and mobility
- Audio Syncing & Extensive Mode: The built-in high-sensitivity music sensor allows you to sync the TV led lights to your favorite music. Lights react and move to the beat of music, film and game audio, creating an incredible immersive sound and light experience – and all without the need for an additional hub. You can choose from 64+ patterns, including strobe, illusion, jump, energy, gradient, running, chasing, fluttering mode etc. Each mode can be applied to different scenes
- 64+ Chasing IC+RGB & W Effect: The independent control design of IC+RGB and white all-in-one multifunctional rgbw led bar lights monitor backlight allows you to easily switch the led lights for desk between IC+RGB and white to enjoy a variety of lighting effects, you can choose white lighting mode with high brightness for better illumination when working, etc. Choose IC+RGB lighting mode when you need to create an entertaining atmosphere for the light show, 16 million colours of Color changing rgb light bar let you dance to the beat and create a dynamic party atmosphere
- Dynamic and Dimmable Lights: 1%-full brightness free brightness adjustment gives you the flexibility to adjust dimmable led light bar for room decorations or a variety of occasions
- USB Powered: USB light bars for room can be powered by powernank, usb charger, TV, Monitor, laptop PC mainframe, making behind TV led lighting bar easy to install in any location.TV led lights are powered by the TV usb interface / PC mainframe, can be turned on/off synchronously with TV / PC
getenforce
ls -Zd /srv/ftp/uploads
ausearch -m AVC -ts recent
If the audit query is unavailable or returns too much data, inspect the system audit log for AVC denials at the time of a failed upload. Reproduce the 553 once, then check the records so the timestamp and path are easy to match.
The Tool Desk
Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →Use the correct content type
Red Hat’s SELinux User’s and Administrator’s Guide for RHEL 7 states: “Files labeled with the public_content_t type cannot be written to, even if Linux permissions allow write access.” For an FTP directory that must support writes, Red Hat documents public_content_rw_t rather than the read-only public_content_t.
Apply a temporary label only when you understand that it is not persistent across a full relabel:
chcon -t public_content_rw_t /srv/ftp/uploads
For a durable configuration, define a file-context rule and restore the context. The policy-management commands available on CentOS 7 are:
semanage fcontext -a -t public_content_rw_t '/srv/ftp/uploads(/.*)?'
restorecon -Rv /srv/ftp/uploads
If semanage is not installed, install the system package that provides SELinux management tools according to your CentOS 7 repositories before creating the rule. Verify the result with ls -Zd.
Quick wins for a faster PC:
Clear out junk files and repair common Windows errorsFree Scan →Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Repair Windows errors before they cause bigger problemsFix Now →Check the relevant SELinux booleans
For anonymous FTP uploads, enable the documented Boolean for anonymous writing only when that behavior is intentional. For authenticated users writing in their home directories, check the ftp_home_dir Boolean in the installed policy. List the current values with:
getsebool -a | grep -E 'ftp|ftpd'
Set a required Boolean persistently with setsebool -P boolean_name on, replacing boolean_name with the policy Boolean confirmed for your installation. Do not disable SELinux globally as a first fix; identify the denied operation and change only the required label or Boolean.
Best Value
- Compatible with Wide Screens - To ensure compatibility with the dual monitor mount, your each monitor must meet three conditions at the same time: First, computer screens size range: 13 to 32 inches. Second, screen weight range: 4.4 to 19.8 lbs. Third, the back of the monitor screen must have VESA mounting holes with a pitch of 75x75mm or 100x100mm.
- Regarding the compatibility with desks - Your desk must meet three conditions at the same time: First, desk material: Only wooden desks are recommended, plastic or glass desks cannot be used. Second, desk thickness range: 0.59" - 3.54". Third, the bottom of the desk should not have any cross beams or panels, as this will interfere with installation. We recommend carefully checking that your desk and monitors meets all above conditions before purchasing.
- Dual C-Clamp Hold - Worried your dual monitors might wobble or slip? Our upgraded base uses a larger platform plus a dual C-clamp structure to lock the dual monitor arm firmly to your desk. Each arm safely keeps your screens steady while you type, click and game—no shaking, no sliding, just a clean and secure setup you can trust every day. It also provides Grommet Mounting installation choice, both options ensure stable and secure fixation for your 0.59" - 3.54" desk.
- Full-Motion Adjustment For Comfortable View - Pull the screen closer when you’re deep in a spreadsheet, push it back to watch videos, or rotate to portrait for coding — moving everything smoothly with just one hand. The monitor stand offers +85°/-50° tilt, ±90° swivel and 360° rotation. Raise your monitor up to 15.75″ to support a healthy sitting posture. Whether you’re working from home, gaming through the night, or switching between video calls and documents, getting the screens to your natural line of sight helps relieve neck, shoulder and back strain so you can stay focused longer with less fatigue.
- Keep Your Desk Organized: By lifting both screens off the desktop, this dual monitor stand opens up valuable space for your keyboard, notebook, docking station or a simple, clutter-free work area. Built-in cable management guides wires along the arms, keeping cords out of sight and out of the way. Enjoy a tidy, modern workstation that looks as good as it feels to use.
6. Reload vsftpd and perform a controlled upload test
- Back up the configuration before editing:
cp -a /etc/vsftpd/vsftpd.conf /etc/vsftpd/vsftpd.conf.bak. - After changing settings, restart the service with
systemctl restart vsftpd. If your service unit supports it and you changed only reloadable values,systemctl reload vsftpdmay be sufficient; restart is the unambiguous option after configuration changes. - Reconnect the FTP client so chroot, group membership, and session state are fresh.
- Run
pwdandls -la, change to the intended upload directory, and upload a uniquely named small file such asftp553-test-20261015.txt. - On the server, confirm the file appears in the mapped host directory and inspect
/var/log/vsftpd.logand the system journal withjournalctl -u vsftpd --since '5 minutes ago'. - Delete the test artifact after confirming the result.
If the upload still fails, correlate the exact client path, server path, Unix permissions, vsftpd settings, and any AVC record from the same attempt. Changing several layers at once makes the cause harder to identify.
Choose the least-permissive fix
| Observed cause | Typical correction | Security scope | Persistence |
|---|---|---|---|
| Wrong FTP-visible directory or chroot mapping | Correct local_root, per-user root, or writable child placement |
One account or jail layout | Persistent configuration |
| Destination lacks write/execute permission | Adjust directory owner, group, or mode on the upload directory and execute access on parents | Narrow directory or group | Persistent filesystem metadata |
| Local uploads disabled | Set local_enable=YES and write_enable=YES |
Potentially all local FTP users | Persistent configuration after reload |
| Anonymous uploads disabled | Enable the anonymous-write option only for a purpose-built drop directory | All anonymous sessions | Persistent configuration; higher exposure |
| SELinux read-only label | Use public_content_rw_t and restore the context |
Specific labeled directory | chcon is runtime-oriented; semanage fcontext plus restorecon persists |
| SELinux policy blocks the account or mode | Enable the documented FTP Boolean for the required access | Policy-defined FTP behavior | Use setsebool -P for persistence |
Prefer a directory-specific ownership, group, label, or per-user setting over a global relaxation. The broadest changes—world-writable directories, anonymous writing, or disabling SELinux—carry the greatest risk and should not be used as routine troubleshooting shortcuts.
Symptoms and targeted checks
You can list files but cannot upload
Inspect the destination directory’s write and execute bits, then check SELinux. Read/list access alone does not establish create permission.
Only one user receives 553
Compare that account’s id output, home directory, per-user vsftpd file, chroot mapping, and destination ownership with a working account. A user-specific configuration or group omission is more likely than a global write_enable problem.
Every local user receives 553
Check write_enable, local_enable, the service’s loaded configuration, and whether vsftpd was reloaded after editing. Then test the resolved path and SELinux state.
Permissions look correct but the log shows an AVC denial
Treat the SELinux denial as authoritative. Inspect the label with ls -Zd, use the documented read/write content type, check the applicable Boolean, and verify with a new test upload.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
The service rejects startup after a chroot change
Review the jail base ownership and writability requirements imposed by the active vsftpd configuration. Keep the base protected and move upload rights to a child directory rather than making the jail root writable.
Quick Recap
Final verification checklist
pwdandls -laidentify the intended FTP-visible destination.namei -lshows execute access through every parent and write plus execute access on the destination.- The account’s owner or group is deliberately assigned; no unnecessary world-write bit is present.
local_enable,write_enable, and any anonymous-write option match the account type.- The chroot base is safe and the writable child is inside the mapped FTP tree.
getenforce,ls -Zd, AVC records, and FTP booleans agree with the required access.- A uniquely named test upload succeeds, logs show the expected path, and the test file is removed.
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




