Saturday, October 17, 2009

Unix notes #1

Ubuntu & Webex
To make ubuntu 9.04 work with Webex just install
ubuntu-restricted-extras
sun-java6-plugin
libstdc++5

I was need to run sudo apt-get --fix-missing install ubuntu-restricted-extras
to install ubuntu-restricted-extras

See http://ubuntuforums.org/showthread.php?t=1032270 for details

The same instructions works for Ubuntu 10.04


SSH through Proxy
To make my CLI ssh client work required an instalation of Corkscrew package
See http://www.mtu.net/~engstrom/ssh-proxy.php for details


Mount FAT32 with full user permissions
To make FAT32 partition mounted with full permission :
sudo mount -t vfat /dev/sda11 /drive-i -o auto,user,sync,exec,uid=1000,gid=1000,dmask=027,fmask=137

Where
- vfat : File System
- /dev/sda11 : The partition to be mounted
- /drive-i : The mount point
- uid : uid associated with my username
- gid : gid associated with my username
- dmask : Directory mask for permissions (027 = 750 / drwxr-x--- in chmod)
- fmask : File mask for permissions (137 = 640 / -rw-r----- in chmod)

To get UID/GID
id

The entry in /etc/fstab will look like this...
/dev/sda11 /drive-i vfat auto,user,sync,exec,uid=1000,gid=1000,dmask=027,fmask=137 0 0

Details
http://www.atoztoa.com/2009/06/mounting-fat32-partitions-with-full.html


FAT32 shortnames and ALL upper-case folder
An issue was found on my environment trying to SVN checkout java project to vfat partition
folders like
WEB_INF, META-INF were displayed like web-inf, meta-inf
Fix:
shortname=mixed options for vfat mount string
My /etc/fstab for vfat looks like
/dev/sda5 /media/m vfat shortname=mixed,ocharset=utf8,auto,user,sync,exec,uid=1000,gid=1000,dmask=027,fmask=137 0 0

For details:
man mount
http://www.nabble.com/Check-out-to-FAT-changes-case-of-a-file.-td25338097.html

1 comments:

Eugene Orlovsky said...

Client version 8.5 finally works for my Ubuntu 9.04 under java 1.6.0_16