Linux/UNIX: chmod error
Q: Sometime when I use chmod command under Suse Linux, I am getting following error message:
changing permissions of 'FILENAME': Operation not permitted
A: If you are using UNIX you will get error as follows:
chmod: Not owner.
Remember, only the owner of a file or directory can set its permissions. Use ls -l to find the owner. Otherwise, login in as a root user and then setup permissions using chmod.
See also:
Subscribe to our free e-mail newsletter or RSS feed to get all updates.
You can Email this page to a friend.
Related Other Helpful FAQs:
- Can I set the permissions on a symbolic link under Linux/UNIX?
- Forbidden - You don’t have permission to access this page error and solution
- Apache 403 Forbidden Error and Solution
- How do I make a Linux or FreeBSD file an executable file?
- Linux or UNIX change file permissions recursively ( conditional )
Discussion on This FAQ
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!


November 20th, 2007 at 3:20 pm
how i can change the permission of a complete directory.
and how i remove the whole directory
November 20th, 2007 at 3:48 pm
How can I change the permission of a complete directory.
chmod -R perm dir-name
how can i remove the whole directory
/bin/rm -rf dirname