avp::ptr weblog

Everything that is in our mind.

Archive for July, 2011

How to set the ownerchip for NTFS partitions mounted from Ubuntu?

without comments

To mount an NTFS partition under Ubuntu you need to edit the configuration in /etc/fstab. Though, when successfully mounted there still is a good chance that the access rights to the partition are not as you want them to be. You cannot changed them with chmod command. Instead you need to set the umask for the mounted partition. In general umask 007 would be satisfying. But in case you run a service that reads from the partition as an anonymous user umask 006 is needed, e.g. an apache web server.

UUID=1973945397942 /media/data ntfs defaults,umask=006,uid=1000,gid=1000 0 0

You can find more information on umask here. This article was inspired by this post by Andrew Martin.

Written by tobi

July 29th, 2011 at 12:36 pm

How to disable the touchpad when the mouse is plugged in?

without comments

Today I finally took the time to ask Google how I can avoid that I hit the touchpad once in a while when I type something on the keyboard. As one would expect I am not the only person who is stressed by this. But there is an easy solution. Just install Touchpad-Indicator!

Written by tobi

July 12th, 2011 at 12:19 am

Posted in Uncategorized

Tagged with , , ,