Koozali.org: home of the SME Server

ftp'ing and permissions

mike davies

ftp'ing and permissions
« on: April 02, 2003, 03:57:22 PM »
hi,

i went in via ssl and created a directory (as root)

i tried uploading a file as a user and not suprisinly it failed
so i did chmod 777 DirectoryName then tried again and it failed again (550 permnission denied)

so then i did chown UserName:UserName DirectoryName and tried again and it still failed

my question is - how can i upload into that directory as a user.. i should have created the directory as the user but as i created it as root - i need to do somethoing..

thanks

mike

Bill Talcott

Re: ftp'ing and permissions
« Reply #1 on: April 02, 2003, 09:38:41 PM »
mike davies wrote:
>
> my question is - how can i upload into that directory as a
> user.. i should have created the directory as the user but as
> i created it as root - i need to do somethoing..

I don't know about fixing your problem, but why not just do what you said. Delete the directory, and recreate it as the user? Seems like the easiest way to get past the problem...