LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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
 
LinkBack Search this Thread
Old 08-13-2008, 09:08 AM   #1
byahya
LQ Newbie
 
Registered: Aug 2008
Posts: 1

Rep: Reputation: 0
Question FTP users home directory on remote server


Hi all,

Well I am stuck with this problem can seems to get through it, so If anyone help me out will be great.

The senario is that I wanted to create an ftp server with the ftp user home directory pointing to a samba shared folde, so if anything is uploaded or downloaded should be stored on the samba shared folder. (due to more hd space).

So far I have got the ftp server up and running with the user logging in and directory being showed is also the shared directory, so far what I wanted is achived simple ABC, BUT the real problem is I can not write in the designated directory.

The samba share is properly mounted with correct permission for the samba user.
Using vsftp with no ch root and writing enabled.

When I take the listing of the folder /mnt/ it got permision of 755 but when I log on the samba server and see the permision of the shared folder it shows permission of 777.

Now I cant get through it what do I have to do to get the permision straight have also tried to change the file permision on the samba server.

Please help.

Bash
 
Old 08-13-2008, 09:41 AM   #2
netman4ttm
Member
 
Registered: Aug 2007
Distribution: FreeBSD 8.0 xubuntu
Posts: 49

Rep: Reputation: 16
A mounted volume always takes on the permissions of the directory the mount is made into, regardless of the permissions the mounted volume might have on it's own server.

Change the permissions of the mount directory on the ftp server to 766 and the issue should be solved.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Users Home Directory rahmad Linux - Server 7 07-31-2008 02:24 AM
NIS Server -Users not getting /home directory bunty82 Linux - Server 2 07-16-2008 03:06 PM
all users can see the all directory in my ftp server padideh Linux - Server 3 03-24-2007 05:01 AM
Apache Root/Home Directory and setting up FTP for home directories? Mankind75 Linux - Newbie 6 07-23-2006 02:37 PM
create ftp user for vsftpd server without home directory cccc Linux - Networking 2 07-30-2005 06:32 AM


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