LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-21-2004, 11:12 AM   #1
Tinku
Member
 
Registered: Jul 2004
Location: INDIA
Distribution: SusE, Gentoo,Debian,FreeBSD
Posts: 197

Rep: Reputation: 30
pure-ftpd help mounting


I use Suse and Pure-ftpd as my ftp server.
I am having the problem....
When i mount say a directory xxx as follows

mount --bind xxx /srv/ftp/

and when an anonymous user connects to my ftp,he can see all the files and directories of xxx ,but he cannot go inside any directory(it says permission denied)

can someone plz help

tia
tinku
 
Old 09-21-2004, 11:15 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
What's the permissions of the mount and or directory? Do they have access? I'm assuming not.
 
Old 09-21-2004, 11:26 AM   #3
Tinku
Member
 
Registered: Jul 2004
Location: INDIA
Distribution: SusE, Gentoo,Debian,FreeBSD
Posts: 197

Original Poster
Rep: Reputation: 30
by default the /srv/ftp has the root permissions for writing.But well,to copy something,u dont need the write permissions.

wat permissions are u exactly referring to?
 
Old 09-21-2004, 11:27 AM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally posted by Tinku
by default the /srv/ftp has the root permissions for writing.But well,to copy something,u dont need the write permissions.

wat permissions are u exactly referring to?
If your mounting another drive or network share, what are the given permissions of that mount? If your doing it as root and not specifying the permissions, I'm assuming only root is going to be able to read from it, etc.

man mount
 
Old 09-21-2004, 11:40 AM   #5
Tinku
Member
 
Registered: Jul 2004
Location: INDIA
Distribution: SusE, Gentoo,Debian,FreeBSD
Posts: 197

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by trickykid
If your mounting another drive or network share, what are the given permissions of that mount? If your doing it as root and not specifying the permissions, I'm assuming only root is going to be able to read from it, etc.

yeah ,i am mounting the directory as root.
all the directories that i am binding to another directory have read permissions for all users..So they should be able to travel through the directory hierarchy ,i guess,,,,,,

how to specify the permissions,(just view and copy) say of directory x

mount --bind /home/gh/tin /srv/ftp/

here say i give $ chmod 755 /home/gh/tin ,is it ok?or should i do something else?if yes,wat

tia
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
pure-ftpd roofy Linux - Software 6 03-05-2007 04:06 AM
pure-ftpd help hongman Linux - Software 16 04-06-2005 11:18 AM
Pure-ftpd Yoinx Linux - Software 0 10-18-2004 12:12 PM
Pure-ftpd zaicheke Linux - Software 2 08-19-2004 06:20 PM
help with pure-ftpd blank Linux - General 3 03-31-2002 10:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:30 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
Open Source Consulting | Domain Registration