LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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
  Search this Thread
Old 03-17-2010, 06:14 AM   #31
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 12.04 - Server 12.04.4 LTS
Posts: 939

Original Poster
Rep: Reputation: 32

I did the top bit OK, hang 5

here's my error

Quote:
sefacl -m u:tommy:rwx /var/www
No command 'sefacl' found, did you mean:
Command 'setfacl' from package 'acl' (universe)
sefacl: command not found
TT ( karl )
 
Old 03-17-2010, 06:14 AM   #32
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 12.04 - Server 12.04.4 LTS
Posts: 939

Original Poster
Rep: Reputation: 32
So that means I have to install sefacl ?

TT ( karl )
 
Old 03-17-2010, 06:16 AM   #33
Sayan Acharjee
Member
 
Registered: Feb 2010
Location: Chennai, India
Distribution: Manjaro
Posts: 616

Rep: Reputation: 64
Hey sorry, I've posted the command wrong. its setfacl not sefacl
right command:
#setfacl -m u:username:rwx /var/www
 
Old 03-17-2010, 06:18 AM   #34
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 12.04 - Server 12.04.4 LTS
Posts: 939

Original Poster
Rep: Reputation: 32
it was a spelling mistake, lol

apt-get install acl, installing now

TT ( karl )
 
Old 03-17-2010, 06:48 AM   #35
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 12.04 - Server 12.04.4 LTS
Posts: 939

Original Poster
Rep: Reputation: 32
It doesn't seem to work, cant write files to /var/www

Quote:
550 Permission denied.
Could not download /home/tommytomato/Desktop/login.css~ 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)
PASV
I'm using gFTP

TT ( karl )
 
Old 03-17-2010, 06:50 AM   #36
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 12.04 - Server 12.04.4 LTS
Posts: 939

Original Poster
Rep: Reputation: 32
winscp3 gives me

Quote:
Copying files to remote side failed.
Permission denied.
TT ( karl )
 
Old 03-17-2010, 06:51 AM   #37
Sayan Acharjee
Member
 
Registered: Feb 2010
Location: Chennai, India
Distribution: Manjaro
Posts: 616

Rep: Reputation: 64
Try this, this should work, its working in my system.
Quote:
#chown ftp:ftp /var/www
#chmod 777 -R /var/www
 
Old 03-17-2010, 06:59 AM   #38
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 12.04 - Server 12.04.4 LTS
Posts: 939

Original Poster
Rep: Reputation: 32
why 777 isn't that bad

TT ( karl )
 
Old 03-17-2010, 07:14 AM   #39
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 12.04 - Server 12.04.4 LTS
Posts: 939

Original Poster
Rep: Reputation: 32
Thanks for all the help sayan, nothing seems to be working here, I just uninstalled gFTP and reinstalled and it's still the same, it will allow me to log in ok but not upload any thing only as root

TT ( karl )
 
Old 03-17-2010, 07:20 AM   #40
Sayan Acharjee
Member
 
Registered: Feb 2010
Location: Chennai, India
Distribution: Manjaro
Posts: 616

Rep: Reputation: 64
Quote:
Originally Posted by tommytomato View Post
Thanks for all the help sayan, nothing seems to be working here, I just uninstalled gFTP and reinstalled and it's still the same, it will allow me to log in ok but not upload any thing only as root

TT ( karl )
You're welcome
Well, the same configuration is working for me in my workplace. There are 25 system users who are using ftp to upload, download, edit files in the server. Don't know why its not working for you :|
 
Old 03-17-2010, 05:58 PM   #41
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 12.04 - Server 12.04.4 LTS
Posts: 939

Original Poster
Rep: Reputation: 32
what FTP are you using, I have reset ( redid ) my server, only one user in the system me as admin, using Ubuntu 9.10 command line

TT ( karl )
 
  


Reply


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Secondary group users need to change the file permissions of primary group files? sunnybmv Linux - Newbie 3 12-10-2009 04:57 PM
group: add complete group into other group max_mad SUSE / openSUSE 1 04-12-2006 01:43 AM
well, there's info written inside /etc/group. accidentally del /etc/group in RedHat9 karmakid Red Hat 1 07-27-2005 10:27 PM
Group Admin, Group Root, or God over Group crickett Linux - General 5 07-12-2004 04:01 PM
[alert] (22) Invalid argument : setgid : unable to set group id to Group 4294967295 Niraj Linux - Networking 1 12-13-2001 06:58 AM


All times are GMT -5. The time now is 05:46 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration