LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 04-01-2014, 09:12 AM   #1
vinodtpba
LQ Newbie
 
Registered: Apr 2014
Posts: 2

Rep: Reputation: Disabled
How do I create a shared folder for multiple users?


I am trying to create a shared folder for multiple users. Is there a way I can restrict other users from in seeing my files with the shared folder. Basically if I post a file from my login to the shared folder others shouldn't be able to see it and vice versa.

I tried nx5000 user's suggestion but then everyone can see all files posted in the shared folder.

Last edited by vinodtpba; 04-01-2014 at 09:14 AM.
 
Old 04-01-2014, 10:25 AM   #2
Madhu Desai
Member
 
Registered: Mar 2013
Distribution: Rocky, Fedora, Ubuntu
Posts: 541

Rep: Reputation: 153Reputation: 153
http://www.linuxquestions.org/questi...8/#post5142831
 
Old 04-02-2014, 04:47 AM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
A shared dir means what it says; anyone who can get into it can see all files therein.
You can use the Sticky Bit to stop others deleting your files (root excepted of course).
https://en.wikipedia.org/wiki/Sticky_bit
 
Old 04-04-2014, 04:15 AM   #4
vinodtpba
LQ Newbie
 
Registered: Apr 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
I am using vsftpd application on my servers. I have a user defined home folder in the server to which I upload all my logs. A software called Sterling B2B then picks up the files from there and create reports using those logs. Now that the logs are going to be uploaded by multiple users I would continue to create more user accounts and each of them would upload their logs. However the Sterling can only focus on one path. To resolve this I created a dynamic link within a folder which is now set as home directory for every user. The dynamic link is now pointing to a shared folder and sterling is supposed to pick up the files from there shared folder to execute.

Current status :
I can use SFTP to connect to server using filezilla and then rest of the plan works just fine . But this doesn't work while I use FTPES My client require SSL security and he want ftpes to be used to login. When I am logged in using ftpes I can login using filezilla and the symbolic links are listed correctly but i cannot open them due to following error message.


Below are the logs from filezilla. INBOUND is the symbolic link in below filezilla log which I am using to upload my worklog.

Status: Resolving address of ftp.xxx.xxx
Status: Connecting to xxx.xxx.xxx.xxx:xx...
Status: Connection established, waiting for welcome message...
Response: 220 (vsFTPd 2.2.2)
Command: AUTH TLS
Response: 234 Proceed with negotiation.
Status: Initializing TLS...
Status: Verifying certificate...
Command: USER vbkin
Status: TLS/SSL connection established.
Response: 331 Please specify the password.
Command: PASS ********
Response: 230 Login successful.
Command: OPTS UTF8 ON
Response: 200 Always in UTF8 mode.
Command: PBSZ 0
Response: 200 PBSZ set to 0.
Command: PROT P
Response: 200 PROT now Private.
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/"
Status: Directory listing successful
Status: Retrieving directory listing...
Command: CWD INBOUND
Response: 550 Failed to change directory.
Error: Failed to retrieve directory listing
Status: Resolving address of ftp.xxx.xxx
Status: Connecting to xxx.xxx.xxx.xxx:xx...
Status: Connection established, waiting for welcome message...
Response: 220 (vsFTPd 2.2.2)
Command: AUTH TLS
Response: 234 Proceed with negotiation.
Status: Initializing TLS...
Status: Verifying certificate...
Command: USER vbkin
Status: TLS/SSL connection established.
Response: 331 Please specify the password.
Command: PASS ********
Response: 230 Login successful.
Command: OPTS UTF8 ON
Response: 200 Always in UTF8 mode.
Command: PBSZ 0
Response: 200 PBSZ set to 0.
Command: PROT P
Response: 200 PROT now Private.
Status: Connected
Status: Starting download of /INBOUND
Command: CWD /
Response: 250 Directory successfully changed.
Error: Failed to open "\INBOUND" for writing
Error: File transfer failed
Status: Starting download of /INBOUND
Error: Failed to open "\INBOUND" for writing
Error: File transfer failed
Status: Starting download of /INBOUND
Error: Failed to open "\INBOUND" for writing
Error: File transfer failed
 
Old 04-04-2014, 04:23 AM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Does your client realize SFTP is at least as secure as FTP+SSL; they both rely on the same underlying libraries
Filezilla can handle sftp.
There's even scp with ssh-keys, which enables automation if required.
 
Old 04-05-2014, 11:54 AM   #6
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
It almost looks like your link may have a bad name: \INBOUND... I see that:

"Status: Starting download of /INBOUND" is valid... but that would imply that \INBOUND is not, which leads me to think that perhaps the directory spec is wrong.
 
  


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
Shared Encrypted disk / files for multiple users? montyny Linux - Security 2 12-11-2011 07:42 AM
I am not able to create a shared folder for a particular Project in the Linux OS. Kavitha15 Linux - Newbie 1 11-25-2008 10:14 PM
Shared folder for multiple users droidix Linux - General 2 07-18-2008 10:44 PM
New shared folder to serveral users Jose Rivas Fedora 2 07-04-2007 09:20 AM
One shared folder for multiple ftp users -- vsftpd rover Linux - Networking 0 06-17-2004 06:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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