LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-16-2007, 01:22 AM   #1
]SK[
Member
 
Registered: Jun 2004
Location: Nottingham, England
Posts: 89

Rep: Reputation: 15
FTP Folder Permissions


I've recently bought a shell from a hosting company.
I also moved ISP recently and they dont offer any hosting which I use to host avatars etc so decided to use my new shell to do this instead. This is all fine except it failed on the first folder I uploaded. After lots of messing around I noticed when ever I create a folder via FTP and then try to open it I get...

Code:
[20:54:14] MKD testfolder
 [20:54:14] 257 "/public_html/testfolder" - Directory successfully created
 [20:54:17] CWD /public_html/testfolder
 [20:54:17] 550 /public_html/testfolder: Permission denied
Looking in ssh at this folder I get...

Code:
drw-r--r--	2 apalmer  apalmer	   512 Apr 12 20:56 testfolder/
I am not being assigned the execute permission it seems. If I change the permission to 744 from 644 I can access it via FTP. If I try to change the same permission via FTP it fails. Also if I do have 744 on a folder, then from an FTP session try to remove the "execute" (644) permission from the folder this fails again. It would seem that anything via FTP won't allow me to change the execute permission. Also any folder created via the ftp client is not accessible via SSH either.

I've gone back to my hosting company who said its a problem with my client. I use SmartFTP and never had any issues before. Upon reading this I gave another client again and came across the same problem. After going back they reply with...

Quote:
No other users are reporting this problem. Please ensure you have given your dirs the correct permissions via ssh.
I've gone back and said there is something wrong the configuration of the FTP somewhere as I really cant believe I am doing anything wrong. Am I really that stupid and indeed doing something wrong?


Notes:
Just incase you need it this is the permission on the folder I am trying to upload data to...
Code:
drwxr-xr-x	7 apalmer  apalmer	  1024 Apr 12 20:56 public_html/
This problem exists on files also in that I cannot assign the "execute" permission via FTP. Again SSH is no problem.

I also came across this Q&A (But lacks an A) on the PROFTP site. The last question on the page is the same issue as mine. This leads me to believe it is indeed my hosts problem and not mine?
http://www.proftpd.org/localsite/Use...66.html#AEN468

Thanks
 
Old 04-16-2007, 05:57 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Without actually looking at it, my first inclination would also be that it is a server side issue. Have you tried having a friend connect and see if the permissions are still set to 550? Though you did say you tried another client, so it does seem like that would preclude a client issue.
 
  


Reply

Tags
proftp, umask



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
folder permissions sharathkv25 Linux - General 3 04-12-2007 12:39 PM
Permissions on a folder.. arkaan Linux - Server 3 03-09-2007 11:18 PM
permissions difference between /home/..../folder and /root/folder darkleaf Linux - General 3 07-21-2005 05:23 PM
Folder permissions help Seventh Linux - Newbie 2 04-22-2004 05:56 PM
File/Folder Permissions with FTP scottpioso Linux - Security 8 03-12-2004 02:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:40 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration