CAM Mass Storage Workaround
By ThinGuy on Feb 22, 2006
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
# Work-around for CAM and Mass Storage
for i in `/bin/cat /var/opt/SUNWbb/users.list`
if [ ! -d /tmp/SUNWut/mnt/$i ];then
/bin/chown $i:other /tmp/SUNWut/mnt/$i
/bin/chmod 500 /tmp/SUNWut/mnt/$i
#End of Script