On Tue, 11 May 2010, Nicholas Marriott wrote:
> Yeah we should probably relax that to allow group permissions, try this.

The patch itself allows tmux to tolerate a socket which has group read 
write permissions allowed.  In practice, tmux recreates the socket or 
resets the permissions back to the old values so it only works once. 
Once tmux resets the permissions to 700, access is not possible from the 
second account:
        server not found: Permission denied

What if new-session could take an optional mode argument like mkdir? 
Letting the file system handle the permissions would be a fairly easy to 
implement compromise.  The default mode would be 700, but the user could 
override that -- at least for the group permissions.

> you can also make a hardlink to the socket if necessary.

Good to know.  I've ignored hardlinks till now.  Thanks.

/Lars

------------------------------------------------------------------------------

_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to