LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-26-2017, 04:06 PM   #1
xer01ne
LQ Newbie
 
Registered: Jul 2017
Posts: 3

Rep: Reputation: Disabled
Shared User Permissions


I am trying to share permissions between 2 users. Basically, I want user1 and user2 to be able to create, modify, and delete files in a shared work directory over SFTP. The problem I ran into is; when user1 creates a file, user2 cannot edit that file. I created a group and added both users to that group and added each user to each others group (ie, user1 in the user2 group and user2 in the user1 group). I can't wrap my head around this.

What is the best way to have a truely shared directory where two users can work on files together (including delete, modify and read) and it be continuing so that I don't have to keep changing the permissions.

Thanks for the help.
 
Old 09-26-2017, 06:30 PM   #2
justmy2cents
Member
 
Registered: May 2017
Location: U.S.
Distribution: Un*x
Posts: 237
Blog Entries: 2

Rep: Reputation: Disabled
You have to make sure the files have read/write permissions for the group bit..
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
setfacl changes group permissions; giving another user rw permissions secretlydead Linux - Server 4 09-22-2012 11:12 PM
Shared FTP directory - separate user permissions jon20usa Linux - Server 1 03-30-2011 05:59 PM
[SOLVED] filesystem permissions question - making so user can't change permissions? c0pe Linux - Security 4 07-12-2010 09:06 AM
Shared Folder Permissions seemashaikh Linux - Newbie 6 06-28-2009 03:42 AM
Shared folder permissions cvzyl Linux - Software 1 07-30-2006 09:43 AM

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

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