LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-01-2014, 11:08 AM   #1
sniper8752
Member
 
Registered: Oct 2012
Posts: 564

Rep: Reputation: Disabled
accessing soft link through FTP


I am trying to access a soft link through Filezilla called shared, located at /home/shared. Bob, and /home/bob is trying to access it. For some reason, he is asked for his password again when he opens it. Filezilla then says that it failed to open "\shared" for writing, and the file transfer failed. Bob is part of departments, and /home/shared is owned by root:departments, while the softlink, /home/bob/shared, is root:root. Why is bob required to enter his password again when accessing the shared directory, and why can't he access the shared directory?
 
Old 04-04-2014, 12:49 AM   #2
Norseman01
Member
 
Registered: Nov 2012
Posts: 85

Rep: Reputation: Disabled
Quote:
Originally Posted by sniper8752 View Post
I am trying to access a soft link through Filezilla called shared, located at /home/shared. Bob, and /home/bob is trying to access it. For some reason, he is asked for his password again when he opens it. Filezilla then says that it failed to open "\shared" for writing, and the file transfer failed. Bob is part of departments, and /home/shared is owned by root:departments, while the softlink, /home/bob/shared, is root:root. Why is bob required to enter his password again when accessing the shared directory, and why can't he access the shared directory?
-----------
Can you/he/anyone use standard *ftp* to access the /home/shared directory?
If not then perhaps the ftp section on the server needs attention.

I will make one assumption: the effort is to access ANOTHER computer located ELSEWHERE.
That being the case - expect to have to login (access-name/password) to 'there'.
You have given 2 shared directories. First is /home/shared and second is /home/bob/shared.
IF Bob is trying to get to the second then simply ftp machine address and login. FTP program rules apply.
IF Bob is trying to get to First then he needs to login as himself to his /home/Bob and issue a change directory to /home/shared. That shared directory (/home/shared) is not under the ftp directory on the disk. Bob needs to be able to login to that machine and his own home-dir and change directory to the /home/shared from the keyboard to that machine. The system and the programs are treating /home/shared as a bonified person/user/entity and all who cd to there are required to be *shared*, the owner. Ftp usually ignores *root* privileges. At least it is supposed to do so. Security and all that - Old Chap.

That was the foundation - the short is: your tree is wrong and ftp rules need to be enforced.

Best of luck
Norseman01
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference Between Soft Link & Hard Link rajaniyer123 Solaris / OpenSolaris 16 09-30-2012 03:42 AM
create soft link and hard link in RHEL5 ramadas88 Linux - Server 6 09-15-2010 04:32 AM
about soft link mail2mphani Linux - Newbie 2 03-05-2009 02:20 PM
hard link and soft link varunrapelly Linux - Newbie 9 10-02-2008 07:05 AM
Soft Link and Hard Link Moataz Red Hat 1 04-25-2005 06:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:38 PM.

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