LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 12-24-2009, 08:43 AM   #1
epamuk
Member
 
Registered: May 2007
Posts: 62

Rep: Reputation: 15
How can i give ftp permission to 2 or any more folders?


Hi,

We have a ftp server. Red Hat Linux release 9 (Shrike) working on the this server.

Ftp server running very good. But I want to give 2 folder permission an user. Is this possible?

Example,
We have a user that name is aslan. I want to connect this user to www/html/company/adek folder with ftp connection. Then I am changing this user home folder in the /etc/passwd as aslan:x:511:511::www/html/company/adek:/bin/bash.

This user doing succesfuly ftp connection to this folder with a ftp program as Filezilla.

Now, I want to also give a different folder connection this user as www/html/company/meleka.

Is This user can be connect this 2 folder with ftp connection? Is this possible? Can i give 2 or any more folder connection at the one user account? How can i give this permissions?

Thanks.
 
Old 12-24-2009, 09:31 AM   #2
1jnike
Member
 
Registered: Jan 2006
Location: UK
Distribution: Fedora,Mandriva,Debian,Suse,Solaris
Posts: 135

Rep: Reputation: 17
Lightbulb

Hi epamuk,

How about setting up a group with permission to the relevant folders, than placing users with correct rights into that group.

OR

How about creating a link from the folder to the users home directory, than when the user is using ftp the folders will so be available, as long as you've chroot to the users home directory.

For more help on chroot:

run

$man chroot


I hope this is of help

Jnike
 
Old 12-28-2009, 03:22 PM   #3
epamuk
Member
 
Registered: May 2007
Posts: 62

Original Poster
Rep: Reputation: 15
Thank you 1 jnike.

Are anyone have different solution?

Thanks.
 
  


Reply

Tags
ftp


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing permission for folders only Palula Linux - Newbie 8 02-19-2010 03:22 PM
What Does Each Group Give Permission To? Do7AN Slackware 6 02-14-2007 02:48 AM
Give actions to folders SiW Linux - Software 1 03-20-2006 11:28 PM
permission 775 to all folders and sub... amer_58 Linux - Newbie 3 04-23-2005 04:21 AM
How to give permission to DVD-ROM? Micro420 Mandriva 19 01-21-2004 01:41 PM


All times are GMT -5. The time now is 02:16 PM.

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