Good Day everyone! As a seli-starter with tmux, i'll expose my use case by a little scenario : + Beth is working on a project and wants to show it to Bob + but she doesn't want Bob to do anything on it (read only).
I thought i'd be able to achieve such a situation by using Sockets : 1. BETH and BOB are two users on the server and 2. both belong to group GUSERS 3. here is what Beth could do : _BETH$ tmux -S $tm/sBETH _BETH$ ls -l $tm _total 0 _srw-rw---- 1 BETH GUSERS 0 Mar 28 22:32 sBETH and Bob side : -BOB$ tmux -S $tm/sBETH attach Here goes Bob on Beth's session. But this way GUSER has rw permissions and thus BOB can modify sBETH's related session 4. Then Beth tries this : _BETH$ chmod g-w $tm/sBETH _BETH$ ls -l $tm _total 0 _srw-r----- 1 BETH GUSERS 0 Mar 28 22:32 sBETH So the rest of GUSER can only read from sBETH 5. Well, unfortunately it goes further as, when Bob tries to attach to the session here is what he gets : _BOB$ ls -l $tm _total 0 _srw-r----- 1 BETH GUSERS 0 Mar 28 22:32 sBETH -BOB$ tmux -S $tm/sBETH attach server not found: Permission denied So, Bob cannot even access Beth's session in a read only way... Is there a way to do it without resorting to VPS which still leaves sessions rw? If not can i make a request for its implementation? And i understand that this way Bob has no way to tell tmux that he wants to detach... nevermind, this is read-only so he just kills his connection (^Z then kill -9 %1 or something). of course a proper way to still interact with tmux till the end would be much appreciated. FYI this case is the common one when doing presentations, showing things to students or friends. thank you JClu 20140328 PS: please, as I'm new here, if this was'nt the right place to present my case, could you be so kind as to show me the way to proceed the correctly. Thanks in advance. ------------------------------------------------------------------------------ _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users