Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 11th January 2006, 01:27
Ran2004 Ran2004 is offline
Junior Member
 
Join Date: Oct 2005
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default Users Cannot Delete Files in FTP

Hello!

I am running ProFTPd on Ubuntu 5.04 Server....

When users log into their FTP directory they cannot delete any of their files... I thought perhaps this was a permissions problems but even CHMODDING them to 777 they cannot delete them.

Here's a log where I uploaded a file and then tried to delete it...

USER nomad
331 Password required for nomad.
PASS (hidden)
230 User nomad logged in.
SYST
215 UNIX Type: L8
FEAT
211-Features:
211-MDTM
211-REST STREAM
211-SIZE
211 End
TYPE I
200 Type set to I
REST 0
350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer
PWD
257 "/" is current directory.
PORT 192,168,15,100,8,182
200 PORT command successful
LIST -aL
150 Opening ASCII mode data connection for file list
117 bytes transferred. (2.28 KB/s) (50 ms)
226 Transfer complete.
Remote file exist check: '009.jpg'.
SIZE 009.jpg
550 009.jpg: No such file or directory
PORT 192,168,15,100,8,183
200 PORT command successful
STOR 009.jpg
150 Opening BINARY mode data connection for 009.jpg
177901 bytes transferred. (51.6 KB/s) (00:00:03)
226 Transfer complete.
SIZE 009.jpg
213 177901
PORT 192,168,15,100,8,184
200 PORT command successful
LIST -aL
150 Opening ASCII mode data connection for file list
181 bytes transferred. (3.53 KB/s) (50 ms)
226 Transfer complete.
Transfer successful.
DELE 009.jpg
550 009.jpg: Permission denied


If you need more information please just ask, I need help.

Ran
Reply With Quote
Sponsored Links
  #2  
Old 11th January 2006, 01:52
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Please post the output of
Code:
ls -la /path/to/009.jpg
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 11th January 2006, 06:06
Ran2004 Ran2004 is offline
Junior Member
 
Join Date: Oct 2005
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

ran@ranserver:/$ ls -la /var/www/nomad/009.jpg
-rwxrwxrwx 1 nomad nomad 177901 2006-01-10 18:21 /var/www/nomad/009.jpg
Reply With Quote
  #4  
Old 11th January 2006, 11:07
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

That looks ok. Can you also post the output of
Code:
ls -la /var
and
Code:
ls -la /var/www
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 11th January 2006, 15:06
Ran2004 Ran2004 is offline
Junior Member
 
Join Date: Oct 2005
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sorry! My mistake

Last edited by Ran2004; 11th January 2006 at 17:08.
Reply With Quote
  #6  
Old 11th January 2006, 16:26
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Which output belongs to which command? And please post the full output!
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 11th January 2006, 17:07
Ran2004 Ran2004 is offline
Junior Member
 
Join Date: Oct 2005
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

ls -la /var

drwxrwxrwx 31 ran ran 4096 2005-12-12 15:56 .
drwxrwxrwx 29 root root 4096 2006-01-11 08:23 ..
drwxr-xr-x 2 root root 4096 2005-12-03 06:25 backups
-rwxrwxrwx 1 ran ran 491 2005-11-12 12:49 .bash_history
drwxr-xr-x 2 root root 4096 2005-11-12 13:26 bin
drwxr-xr-x 2 root root 4096 2005-11-12 13:21 build
drwxr-xr-x 7 root root 4096 2005-11-12 12:34 cache
drwxr-xr-x 2 root root 4096 2005-11-12 13:21 cgi-bin
drwxr-xr-x 2 root root 4096 2005-11-12 13:21 conf
drwxr-xr-x 3 root root 4096 2005-11-12 13:21 error
drwxr-xr-x 2 root root 4096 2005-11-12 13:21 htdocs
drwxr-xr-x 3 root root 4096 2005-11-12 13:21 icons
drwxr-xr-x 2 root root 4096 2005-12-02 12:50 include
-rw-r--r-- 1 ran ran 13146 2005-12-02 22:42 index.php
-rw-r--r-- 1 root root 47188 2005-11-13 02:55 lang_main.php
drwxr-xr-x 19 root root 4096 2005-11-12 13:26 lib
drwxrwsr-x 2 root staff 4096 2005-03-31 14:09 local
drwxrwxrwt 2 root root 4096 2005-12-09 13:17 lock
drwxr-xr-x 8 root root 4096 2006-01-11 06:25 log
drwxr-xr-x 2 root root 4096 2005-12-12 15:32 logs
drwxr-xr-x 2 root root 49152 2005-10-07 10:44 lost+found
drwxrwsr-x 2 root mail 4096 2005-11-12 12:27 mail
drwxr-xr-x 4 root root 4096 2005-11-12 13:21 man
drwxr-xr-x 14 root root 8192 2005-11-12 13:21 manual
drwxr-xr-x 2 root root 4096 2005-11-12 13:21 modules
drwxrwxrwx 2 ran root 4096 2005-11-02 21:38 narayani
drwxr-xr-x 2 root root 4096 2005-10-07 10:47 opt
-rw------- 1 root root 2097120 2005-12-23 19:31 quota.group
-rw------- 1 root root 2097120 2005-12-23 19:31 quota.user
drwxr-xr-x 3 ran ran 4096 2005-11-24 11:41 ran
drwxr-xr-x 15 root root 4096 2005-12-09 13:17 run
drwxr-xr-x 4 root root 4096 2005-10-07 10:48 spool
drwxrwxrwt 2 root root 4096 2005-11-12 11:53 tmp
drwxrwxrwx 2 ran ran 4096 2005-12-12 15:56 sense
drwxrwxrwx 2 ran ran 4096 2005-12-12 15:56 sens
drwxrwxrwx 15 ran ran 4096 2006-01-11 01:53 www
___________________________

ls -la /var/www

total 1454924
drwxrwxrwx 15 ran ran 4096 2006-01-11 01:53 .
drwxrwxrwx 31 ran ran 4096 2005-12-12 15:56 ..
-rw-r--r-- 1 ran ran 367378432 2005-12-23 20:15 07 - sens.avi
-rw-r--r-- 1 ran ran 598428 2005-12-20 18:22 altered.jpg
-rw-r--r-- 1 ran ran 13656 2005-11-07 00:34 sens.conf
drwxr-xr-x 3 ran ran 4096 2005-12-24 13:51 ARS
-rw-r--r-- 1 ran ran 33812 2006-01-10 17:23 background.jpg
-rw------- 1 ran ran 766 2005-11-02 21:46 .bash_history
-rw-r--r-- 1 ran ran 733419520 2005-12-15 00:23 bien-xvid-sens.avi
-rw-r--r-- 1 ran ran 40779 2005-12-15 00:25 bien-xvid-sens.srt
drwxr-xr-x 6 ran ran 4096 2005-10-29 12:52 Bobby_Bahro
drwxr-xr-x 8 ran ran 4096 2005-11-30 14:38 cgchat
drwxrwxrwx 8 ran ran 4096 2005-11-30 14:38 cgi-bin
drwxr-xr-x 6 ran ran 4096 2005-12-01 13:06 chat
-rw-r--r-- 1 ran ran 622226 2005-11-27 00:27 chat.zip
-rw-r--r-- 1 ran ran 7248 2005-12-02 12:25 config.php
-rw-r--r-- 1 ran ran 1276 2006-01-08 23:50 data_in.php
-rw-r--r-- 1 ran ran 996 2006-01-08 19:42 data-in.php
-rw-r--r-- 1 ran ran 989 2006-01-08 22:44 data_in.txt
-rw-r--r-- 1 ran ran 1093 2006-01-08 23:50 data_out.php
-rw-r--r-- 1 ran ran 28741 2005-12-19 22:37 December19002.jpg
-rw-r--r-- 1 ran ran 5344 2005-12-19 15:40 example.sxc
drwxr-xr-x 15 ran ran 4096 2005-10-29 10:11 Forums
-rw-r--r-- 1 ran ran 49141 2005-11-30 16:54 here2.jpg
-rw-r--r-- 1 ran ran 26126 2005-11-30 16:48 here.JPG
-rw-r--r-- 1 ran ran 226 2005-11-06 23:30 .htaccess
-rw-r--r-- 1 ran ran 4796 2005-11-06 02:45 index.jpg
-rw-r--r-- 1 ran ran 178 2005-11-06 23:37 info.php
-rw-r--r-- 1 ran ran 30599 2005-11-28 13:45 sens2.conf
-rw-r--r-- 1 ran ran 36395 2005-11-29 16:33 sens3.conf
-rw-r--r-- 1 ran ran 323129 2005-12-18 19:22 IsisBirthday09-23-05 134.jpg
-rw-r--r-- 1 ran ran 323129 2005-12-18 19:22 IsisBirthday09-23-05.jpg
-rw-r--r-- 1 ran ran 78989 2005-12-18 20:21 IsisXmas2004an.jpg
-rw-r--r-- 1 ran ran 71855 2005-12-18 16:16 IsisXmas2004.jpg
-rw-r--r-- 1 ran ran 73059 2005-12-23 18:07 Jack Johnson - In Between Dreams.jpg
-rw-r--r-- 1 ran ran 359722 2005-12-18 16:17 Jon-Michael1.jpg
-rw-r--r-- 1 ran ran 1239040 2005-11-29 09:06 latest.tar
-rw-r--r-- 1 ran ran 520456 2005-12-12 15:37 sens.dll
-rw------- 1 ran ran 561 2005-11-28 21:38 log
-rw-r--r-- 1 ran ran 96445 2005-12-18 16:16 MeinChicago.jpg
-rw------- 1 ran ran 201 2005-10-29 12:46 .mysql_history
drwxr-xr-x 10 ran ran 4096 2005-12-01 00:04 narayani
-rw-r--r-- 1 ran ran 1325536 2005-11-19 15:45 Narayaninarayani_board.sql
drwxr-xr-x 2 root root 4096 2005-12-23 19:58 nip
-rw-r--r-- 1 ran ran 57251 2005-12-23 19:58 sens.torrent
drwxr-xr-x 2 nomad nomad 4096 2006-01-10 18:31 nomad
-rw-r--r-- 1 ran ran 2293760 2005-05-14 06:12 phpBB-2.0.15.tar
-rw-r--r-- 1 ran ran 537226 2005-10-31 20:27 phpBB-2.0.18.tar.gz
drwxr-xr-x 7 ran ran 4096 2005-10-27 10:11 phpmyadmin
-rw-r--r-- 1 ran ran 31744 2005-11-16 22:35 Pleasantville2.doc
-rw-r--r-- 1 ran ran 32768 2005-11-17 22:16 Pleasantville.doc
-rw-r--r-- 1 ran ran 31744 2005-11-17 16:31 PleasantvilleFinalRough.doc
-rw-r--r-- 1 ran ran 11010 2005-11-16 22:51 PleasantvilleFinalRough.sxw
-rw-r--r-- 1 ran ran 11255 2005-11-18 22:03 Pleasantville.sxw
-rwxr-xr-x 1 ran ran 19137102 2004-08-19 18:13 plServers-0.38.10.run
-rw-r--r-- 1 ran ran 29764 2005-11-26 20:22 ran.jpg
-rw-r--r-- 1 ran ran 212 2005-12-12 15:37 Readme.txt
drwxr-xr-x 6 ran ran 4096 2005-12-02 15:03 Register
-rw-r--r-- 1 ran ran 996 2006-01-08 19:37 registration.php
-rw-r--r-- 1 ran ran 1835 2006-01-10 17:40 roomates.php
drwxr-xr-x 5 ran ran 4096 2005-12-27 13:05 sophrosyne
-rw-r--r-- 1 ran ran 4091904 2005-11-16 20:25 Star Trek Deep Space Nine - Opening Credits (Rock Version).mp3
-rw-r--r-- 1 ran ran 21504 2005-10-31 18:12 Tartuffe.doc
-rw-r--r-- 1 ran ran 1546 2005-11-26 22:18 test.html
-rw-r--r-- 1 ran ran 83039 2005-12-18 16:14 Tori'sVisit 027.jpg
-rw-r--r-- 1 ran ran 83039 2005-12-18 16:15 Tori'sVisit027.jpg
drwxr-xr-x 2 ran ran 4096 2005-12-12 15:52 sens
-rw-r--r-- 1 ran ran 772 2005-12-12 15:37 sens.ccd
-rw-r--r-- 1 ran ran 82 2005-12-12 15:37 sens.cue
-rw-r--r-- 1 ran ran 346302480 2005-12-12 15:45 sens.img
-rw-r--r-- 1 ran ran 28557 2005-12-12 15:50 sens.torrent
-rw-r--r-- 1 ran ran 4546612 2005-11-14 21:10 sens.exe
-rw-r--r-- 1 ran ran 883 2005-12-27 13:05 wp-config.php

Sorry, there were things that I can't disclose legally in the directory....

Last edited by Ran2004; 11th January 2006 at 17:57.
Reply With Quote
  #8  
Old 11th January 2006, 20:26
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Hm, looks ok. What's in /etc/proftpd.conf?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 11th January 2006, 20:42
Ran2004 Ran2004 is offline
Junior Member
 
Join Date: Oct 2005
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Eh, forget about it... I installed pure-ftpd and everything works fine... Thanks for trying though

Ran

Last edited by Ran2004; 12th January 2006 at 02:24.
Reply With Quote
  #10  
Old 19th January 2006, 07:36
themachine themachine is offline
Senior Member
 
Join Date: Oct 2005
Location: Texas, USA
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

talk about party pooper!!! much more fun to figure out the problem than the install pure.... ::sigh::
__________________
themachine
5dollarwhitebox.org
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH Users CHROOT howser Installation/Configuration 20 2nd August 2006 09:22
System users, or virtual users gfts Installation/Configuration 1 20th December 2005 11:28
Ability to add components for users webstergd Feature Requests 1 20th December 2005 11:25
Real System users exy123 General 2 12th December 2005 11:01
after delete of users Jordy General 2 4th November 2005 21:33


All times are GMT +2. The time now is 09:53.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.