Give write access to a file or folder to a user whos not the owner
There are a bunch of files in a folder, the owner is a specific user (let's call him user "A") who wants to retain ownership and ability to edit the files.
There's another user ("B"), who needs to edit (write and save changes) to these files.
There are 5 files in this folder.
I am a newbie, as you can tell by now :)
What's the best way to give this user B write access to each file or to this whole directory without changing the files owner ? do I give rights to the folder and it enforces the change on all the folder's contents? do i assing the user a group and give the group rights? and "how" do i do this? :)