Symlinks in samba and sshfs

When setting up sshfs mounts and Linux samba servers, one can make it so that symbolic links are followed (so they aren’t broken). For sshfs, add the follow_symlinks option. In /etc/fstab/, the entry would look something like

sshfs#USERNAME@SERVERNAME: /mnt/acer fuse fsname=sshfs#USERNAME@SERVERNAME:,comment=sshfs,noauto,users,exec,uid=1000,gid=1000,allow_other,reconnect,transform_symlinks,follow_symlinks,BatchMode=yes 0 0

For samba, add the following to either the [global] options or the individual location in /etc/samba/smb.conf:

follow symlinks = yes
wide symlinks = yes
unix extensions = no

Make sure samba is restarted and the sshfs mount point is re-mounted.

Startup applications in LXDE: caps lock as control

I just installed Linux Mint on my Asus T101MT. As with all my computers, I prefer to have the caps lock key as a control key. Of these methods, only the xkb command works. To have the key remapped every session, I followed these instructions and created the file ~/.config/autostart/nocaps.desktop:

<pre class="example">[Desktop Entry]

Encoding=UTF-8 Name=nocaps Comment=Remap caps lock as control. Exec=setxkbmap -option ctrl:nocaps Terminal=true


This site lists 52 things that people should know about cryptography, if you want to get into the cryptography world. I was also recommended Bruce Schneier’s book, Applied Cryptography: Protocols, Algorthms, and Source Code in C.