I don't have a lot of experience with them on Solaris, but can't one put Access Control Lists on directories to set defaults (setfacl (1) command)?

Bob Doolittle wrote:
This approach would be vulnerable to race cases, since the
/tmp/SUNWut/mnt/$USER/* directory tree will be
populated around the same time any utaction is executed.
So I'm not sure how reliable you can make this.  There is
unfortunately no hook which is executed after storage is
mounted, which is what you'd presumably really want here.

-Bob

Alex Collins wrote:
 



We would like to have SRS always mount USB devices as read-only. Users should
be able to copy information off of CD-ROMs attached to their Sun Rays, but if
they attach a CD-RW or flash drive, we do not want them to be able to write
files.
 
If this can be scripted to decide whether to mount r/o or r/w based on DTU,
so much the better.
 
Perhaps just a utaction that changes the permissions on
/tmp/SUNWut/mnt/$USER/* ? Has anyone tried something like this?
 

Hi Tom

    This is exactly what you need to do as the drive gets mounted.
I presume you are not using CAM / Kiosk so I can't tell you exactly how to do
it.

The script we use for CAM is at:
http://libweb.anglia.ac.uk/test/CAM_Storage_Fix.tar.gz
Credit for this Script goes to Brad.




 

_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

--
Garry Robbins
Technical Account Specialist
Southwest Technology Group Inc.
148 Fullarton Street, Suite 804
London, ON N6A 5P3 CA
Phone (519) 963-2264
Mobile (519) 902-6472
Fax (519) 432-1182
Email [EMAIL PROTECTED]
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to