UNIX fiile permission issue

I have a situation where a user needs to access a file this user is a SUDO user.  This
Is how this process work User (A) transfers the file via FTP User (B) is to take the file
And work with it.

But user (B) cannot access the file unless the file is set to 777, User (A,B) are not in the
Same group for security reasons and I we can’t keep the permission of the file 777 for
The same reasons. Ideally I would like the file to be set to 640.  SUDO having many
Feature I was wondering if there isent one that could help in this issue.

Thank you
 Dan
d_asselinAsked:
Who is Participating?
 
gheistConnect With a Mentor Commented:
Both need to be members of same group and the directory where they both play with the file must be g+rwxs
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.