Apache2Triad Help, Support and Development Forum Index Apache2Triad Help, Support and Development
The apache2triad help , support and development forums
 

slimftpd permissions
Click here to go to the original topic

 
       Apache2Triad Help, Support and Development Forum Index -> Ftp
View previous topic :: View next topic  
Author Message
multipass



Joined: 25 Mar 2005
Posts: 2

Posted: Sat Mar 26, 2005 7:09 pm    Post subject: slimftpd permissions  

Hello Vlad,

I have installed apache2traid, when i access the ftp with default root user i don't have any permission to the htdocs.

every thing Sim's to work and such a weird thing...

and one more thing do i have to login with apache2traid windows account first and then mine or i can just use mine? or whats best...

please Vlad can you suggest some thing i try too find an answer on the forum no luck.

Thanks,

Yuri
Back to top  
Vlad Alexa Mancini



Joined: 07 Jul 2003
Posts: 1538

Posted: Sun Mar 27, 2005 8:40 am    Post subject:  

by default the slimftpd service runs as the apache2triad user , if you experience problems like the ones you described change its service to run under the LocalSystem account

it works fine for me with default settings on win2K SP4 tho' , as you can see below

Quote: localhost=127.0.0.1
220-SlimFTPd 3.16, by WhitSoft Development (www.whitsoftdev.com)
220-You are connecting from mobile:1307.
220 Proceed with login.
USER root
331 Need password for user "root".
PASS ***********
230 User "root" logged in.
SYST
215 WIN32 Type: L8 Version: SlimFTPd 3.16, by WhitSoft Development (www.whitsoftdev.com)
FEAT
211-Extensions supported:
SIZE
REST STREAM
MDTM
TVFS
211 END
Connect ok!
PWD
257 "/" is current directory.
Get directory
TYPE A
200 TYPE command successful.
PORT 127,0,0,1,5,28
200 PORT command successful.
LIST -la
150 Opening active mode data connection for listing of "/*".
Download
Waiting for server...
226 LIST command successful.
CWD apache2triadcp
250 "/apache2triadcp" is now current directory.
Get directory
PORT 127,0,0,1,5,30
200 PORT command successful.
LIST -la
150 Opening active mode data connection for listing of "/apache2triadcp/*".
Download
Waiting for server...
226 LIST command successful.
PORT 127,0,0,1,5,32
200 PORT command successful.
Back to top  
multipass



Joined: 25 Mar 2005
Posts: 2

Posted: Sun Mar 27, 2005 11:51 am    Post subject:  

Hi again,

I'm running win xp sp2.

i looked on the apache2traid user account and it was limited...
so i changed to computer administrator and that didn't help
i killed the progress slimftpd from apache2traid user and started on my user account. didn't help.
i used filezilla and it seemd to work but where its soupose to say what permissions you have to the file its only "d"

is it suppose to be like that?

i try to change the folder permission's and i got a syntax error...
why is that?

here is the log

Quote: Changing file attributes "ruscs.no-ip.org".
STATUS:> Getting listing "/"...
COMMAND:> TYPE A
200 TYPE command successful.
COMMAND:> PASV
227 Entering Passive Mode (127,0,0,1,5,7)
COMMAND:> LIST
STATUS:> Connecting FTP data socket 127.0.0.1:1287...
150 Opening passive mode data connection for listing of "/*".
226 LIST command successful.
STATUS:> Directory listing completed.
COMMAND:> SITE CHMOD 777 /ruscs.no-ip.org
500 Syntax error, command "SITE" unrecognized.
ERROR:> Syntax error, command unrecognized.
Back to top  
Vlad Alexa Mancini



Joined: 07 Jul 2003
Posts: 1538

Posted: Fri Apr 15, 2005 4:00 pm    Post subject:  

i thought you meant you can not access the files , not change their permissions via ftp

the file transfer protocol RFC 959 says this
Quote: This command is used by the server to provide services specific to his system that are essential to file transfer
but not sufficiently universal to be included as commands in the protocol. The nature of these services and the
specification of their syntax can be stated in a reply to the HELP SITE command.
about the SITE ftp command

so a ftp command like "SITE chmod 777 filetochmod" is by no means incorrect , however it will not work on windows , because like the spec says , SITE provides services specific to your system , and chmod is specific only to *nix'es

however it is strange that slimftpd isses a "500 Syntax error, command "SITE" unrecognized" because the SITE comand itself is implemented in slimftpd as http://www.whitsoftdev.com/slimftpd/ states that slimftpd is RFC959 compliant

furthermore unfortunately slimftpd responds with a "214 For help, please visit www.whitsoftdev.com." to the HELP SITE command

if you are interested about the chmod issue see FAQ Question #17
Back to top  
mwhitlock



Joined: 16 Apr 2005
Posts: 1

Posted: Sat Apr 16, 2005 10:14 am    Post subject:  

See RFC1123: Requirements for Internet Hosts -- Application and Support, page 34, section 4.1.2.13, "Minimum Implementation; RFC-959 Section 5.1." The SITE command is not required to be recognized
Back to top  
faminsk



Joined: 25 Jan 2006
Posts: 2

Posted: Mon Sep 11, 2006 3:09 pm    Post subject:  

Vlad Alexa Mancini wrote: i thought you meant you can not access the files , not change their permissions via ftp

the file transfer protocol RFC 959 says this
Quote: This command is used by the server to provide services specific to his system that are essential to file transfer
but not sufficiently universal to be included as commands in the protocol. The nature of these services and the
specification of their syntax can be stated in a reply to the HELP SITE command.
about the SITE ftp command

so a ftp command like "SITE chmod 777 filetochmod" is by no means incorrect , however it will not work on windows , because like the spec says , SITE provides services specific to your system , and chmod is specific only to *nix'es

however it is strange that slimftpd isses a "500 Syntax error, command "SITE" unrecognized" because the SITE comand itself is implemented in slimftpd as http://www.whitsoftdev.com/slimftpd/ states that slimftpd is RFC959 compliant

furthermore unfortunately slimftpd responds with a "214 For help, please visit www.whitsoftdev.com." to the HELP SITE command

if you are interested about the chmod issue see FAQ Question #17

Do I have this right? If I have Apache2Triad loaded on a Windows machine, I cannot change file permissions via FTP?

I have to have access to the server itself and use the ATTRIB command or right click on the file and update the properties in the context menu on windows?

Thanks for your help
Back to top  
 
       Apache2Triad Help, Support and Development Forum Index -> Ftp
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.13 © 2001, 2002 phpBB Group