LinuxQuestions.org
Review your favorite Linux distribution.
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 05-09-2006, 06:31 AM   #1
Josh100
Member
 
Registered: Feb 2006
Distribution: Mandriva, Suse 10.2
Posts: 39

Rep: Reputation: 15
Permissions and FTP


I wonder if anyone can help,

I've set up an ftp server on my mandriva machine, i can upload files fine to to it when logged on as the owner of the directory, but when i try to log in as a different user, but in the same group i can browse files but it says access denied when i try to upload files.

Any ideas?

thanks Josh
 
Old 05-09-2006, 06:42 AM   #2
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.1
Posts: 1,469

Rep: Reputation: 46
i think you need to check the owner ship of the directory, it sounds like the group in question does not have write permisison....
 
Old 05-09-2006, 06:53 AM   #3
Josh100
Member
 
Registered: Feb 2006
Distribution: Mandriva, Suse 10.2
Posts: 39

Original Poster
Rep: Reputation: 15
I think they're right, i've got:

both users are in the group apache
Owner: can view and modify content
Group: can view and modify content
Others: can view content

ownership:
User: josh
Group: apache
 
Old 05-09-2006, 07:15 AM   #4
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.1
Posts: 1,469

Rep: Reputation: 46
yes, but is apache the group on the folder?

ls -l <yourfolder>
 
Old 05-09-2006, 07:24 AM   #5
Josh100
Member
 
Registered: Feb 2006
Distribution: Mandriva, Suse 10.2
Posts: 39

Original Poster
Rep: Reputation: 15
drwxrwxr-x 4 josh apache 4096

that looks right
 
Old 05-09-2006, 07:33 AM   #6
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
which ftp server are you using please?
 
Old 05-09-2006, 08:02 AM   #7
Josh100
Member
 
Registered: Feb 2006
Distribution: Mandriva, Suse 10.2
Posts: 39

Original Poster
Rep: Reputation: 15
It's ProFTPD.
 
Old 05-09-2006, 08:30 AM   #8
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.1
Posts: 1,469

Rep: Reputation: 46
are you sure you're not over writing files you dont have write permission to?
 
Old 05-09-2006, 11:12 AM   #9
Josh100
Member
 
Registered: Feb 2006
Distribution: Mandriva, Suse 10.2
Posts: 39

Original Poster
Rep: Reputation: 15
nope, definitely not trying to overwrite.
 
  


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
FTP, permissions help Odins_Son Linux - Newbie 9 02-21-2006 06:09 PM
FTP permissions jeucken Linux - Networking 11 01-09-2006 07:44 AM
FTP Permissions varunbihani Linux - General 2 03-24-2005 10:34 AM
ftp permissions race Linux - Networking 0 01-15-2004 02:33 PM
Permissions on FTP ntloser Linux - Security 1 12-28-2003 01:10 PM


All times are GMT -5. The time now is 01:27 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