CAM Mass Storage Workaround
Editors Note: This Workaround is no longer necessary in SRSS 4.0 and Kiosk Mode.
One of the first things I noticed when we released our support for USB Mass Storage on Sun Ray is that it didn't work in Controlled Access Mode. It's a simple timing problem where processes responsible for Mass Storage run prior to the hand off of the session to the CAM user.
You can use this work-around to enable USB Mass Storage support for your favorite CAM application, including passing this storage up to Windows Terminal Server as a mapped drive.
On each server in your Fail Over Group:
Have fun!
One of the first things I noticed when we released our support for USB Mass Storage on Sun Ray is that it didn't work in Controlled Access Mode. It's a simple timing problem where processes responsible for Mass Storage run prior to the hand off of the session to the CAM user.
You can use this work-around to enable USB Mass Storage support for your favorite CAM application, including passing this storage up to Windows Terminal Server as a mapped drive.
On each server in your Fail Over Group:
- Create file called /usr/dt/config/Xsession.d/0200.SUNWut
- Make sure root owns and perms are 700
#!/bin/sh
# Work-around for CAM and Mass Storage
#set -x
for i in `/bin/cat /var/opt/SUNWbb/users.list`
do
echo $i
if [ ! -d /tmp/SUNWut/mnt/$i ];then
/bin/mkdir /tmp/SUNWut/mnt/$i
/bin/chown $i:other /tmp/SUNWut/mnt/$i
/bin/chmod 500 /tmp/SUNWut/mnt/$i
fi
done
#End of Script
Have fun!

