LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 08-23-2001, 03:55 PM   #1
Rfriend@ucwv.edu
LQ Newbie
 
Registered: Jun 2001
Posts: 8

Rep: Reputation: 0
Angry FTP Permission Denied


I have a server running RedHat 7.1, and whenever a user attempts to ftp a file onto the website they get Permission Denied. The same user can ftp files into their home directory, as well as other directories on the server. The files are chmod to 575 and the user is the owner of these files. Any help would be greatly appreciated.
 
Old 08-23-2001, 04:19 PM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
Re: FTP Permission Denied

Quote:
Originally posted by Rfriend@ucwv.edu
The files are chmod to 575 and the user is the owner of these files.
575 - owner - Read/Execute, Group - Read/Write/Execute, other - Read/Execute - hence your user cannot overwite the files with new ones!! Chmod them to 644 and all should be well, or 755 if they are actually executables. The UNIX groups are mutually exclusive, so even if the owner of the file is in the group that has permission to write to the file they still need to have permission to write to the file as the 'owner' - if you see what I mean.

HTH

Jamie...
 
Old 08-23-2001, 04:34 PM   #3
Rfriend@ucwv.edu
LQ Newbie
 
Registered: Jun 2001
Posts: 8

Original Poster
Rep: Reputation: 0
Rejoice!

Thanks Jamie! I had to change permissions to 775. I don't know why, but it works now. Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
can't execute c++ binaries, "permission denied"... even though permission is 777 SerfurJ Programming 14 02-20-2009 05:50 AM
su: permission denied Tumunzahar Linux - General 3 02-01-2005 03:04 PM
Permission DEnied NomadABC Linux - Software 3 01-02-2005 10:53 AM
su: permission denied aesahaettr Linux - Software 1 07-27-2003 07:08 AM
ftp into redhat (permission denied) mrobb Linux - Software 5 05-20-2003 04:13 PM


All times are GMT -5. The time now is 11:21 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration