LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 03-19-2010, 01:39 AM   #31
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 12.04 - Server 12.04.4 LTS
Posts: 932

Original Poster
Rep: Reputation: 32

I'm not sure but is the sudo command not working, it created the group and user using sudo, or should I sudo passwd and try that way ?

TT ( karl )
 
Old 03-19-2010, 01:41 AM   #32
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 12.04 - Server 12.04.4 LTS
Posts: 932

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by sayan_acharjee View Post
Can you please post the permissions of /var/www directory?
Here is the permissions assigned to the directory of my system which is used by user h11 to upload files with gftp:


here the + sign indicates that an acl is implemented on the directory, and here the directory name and user name is same.
Its working fine in my system, see if you can get some ideas from this.
Code:
tommytomato@rockinghamgateway:/var/www$ ls -l
total 8
-rw-r--r--  1 root root  177 2010-03-17 21:13 index.html
drwxr-xr-x+ 2 root root 4096 2010-03-19 07:24 webalizer
drwxr-xr-x+ 3 root root 4096 2010-03-19 07:24 www


TT ( karl )

Last edited by tommytomato; 03-19-2010 at 01:42 AM.
 
Old 03-19-2010, 01:47 AM   #33
Sayan Acharjee
Member
 
Registered: Feb 2010
Location: Bangalore, India
Distribution: Linux Mint 13
Posts: 590

Rep: Reputation: 64
drwxr-xr-x+ 3 root root 4096 2010-03-19 07:24 www

Here the owner and the group is assigned as root thats why its not letting other users to write on it, change it to ftp, use this command:

Quote:
Quote:
#chown ftp:ftp -R /var/www
I hope it will work now

Last edited by Sayan Acharjee; 03-19-2010 at 01:48 AM.
 
Old 03-19-2010, 01:52 AM   #34
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 12.04 - Server 12.04.4 LTS
Posts: 932

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by sayan_acharjee View Post
drwxr-xr-x+ 3 root root 4096 2010-03-19 07:24 www

Here the owner and the group is assigned as root thats why its not letting other users to write on it, change it to ftp, use this command:



I hope it will work now
done, gftp gives
Quote:
553 Could not create file.
Could not download /home/tommytomato/Desktop/rgwlogo.jpg from local filesystem
There were 1 files or directories that could not be transferred. Check the log for which items were not properly transferred.Loading directory listing /var/www from server (LC_TIME=en_AU.UTF-8)
TT ( karl )
 
Old 03-19-2010, 01:59 AM   #35
Sayan Acharjee
Member
 
Registered: Feb 2010
Location: Bangalore, India
Distribution: Linux Mint 13
Posts: 590

Rep: Reputation: 64
I'm out of options right now, I'll look in to it and if I can come up with something I'll let you know.
 
Old 03-19-2010, 02:03 AM   #36
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 12.04 - Server 12.04.4 LTS
Posts: 932

Original Poster
Rep: Reputation: 32
No probs, I haven't installed any thing but what i said about the lamp, only changes I have made are from this post were chatting on, I used to use root all the time when I had the system up and running on Ubuntu 9.04 but we had a bad power hit here at home and it killed by server box, so I got another one and put on Ubuntu 9.10, I undo what I've done and set it back to default with the admin user only..

TT ( karl )
 
  


Reply

Tags
gftp, wine


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
www-data execute iptables Legolas891 Linux - Security 2 12-22-2009 03:36 PM
Problem user www-data on ubuntu mosesdel Linux - Server 2 03-31-2009 06:45 PM
www-data password / authorization (newb) helsing Linux - Server 7 04-19-2008 09:51 AM
Why does www-data have /bin/sh as a shell? reverse Debian 2 11-18-2007 07:35 AM
add www-data user restless Linux - Newbie 1 06-01-2004 07:51 AM


All times are GMT -5. The time now is 07:10 AM.

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