.removable-directory-problem

Hi, Sun Managers,

Many thanks to all who responded to me:

Dave Staggs staggsd@liberator.korea.army.mil

Fedor Gnuchev qwe@ht.eimb.rssi.ru

Jens Fischer fischjns@kat.ina.de

Casper Dik casper@holland.Sun.COM

Don williams don.williams@research.natpower.co.uk

Anthony Clarke aclarke@mpc-uk.com

Irana Whitaker-Patel irana@hrwallingford.co.uk

Dave Zarnoch davez@mopphil.mtb.phil.mop.com

Theodore S. Kapela kapela@quasar.sbi.com

Mark S. Anderson anderson@neon.mitre.org

Geert Devos Geert.Devos@ping.be

Scott McBain scott@luey.redars.ca.Boeing.COM

----------------- the suggested solutions -----------------------

1. create a root cronjob as:

   0,15,30,45 * * * * /usr/bin/chmod a+rwxt /tmp/.removable >/dev/null

2. change mode for .removable in tmp directory to 777

3. install patch 101514-02

4. edit the file of /usr/openwin/bin/openwin to add the following

   if [ -d /tmp/.removable ]

   then

            rm -rf /tmp/.removable

   fi

5. edit /etc/rc2.d/s20syssetup to add

   if [ ! -f /tmp/.removable ]

           then

           mkdir /tmp/.removable

           chmod 777 /tmp/.removable

   fi

6. check the FAQ, Item #4.3

   

        In the item #4.3 of the FAQ, it says that "Under Solaris 2.3, the first

   time filemgr is launched, it created a /tmp/.removable directory owned by the

   user who launched it. If a different user later starts up filemgr, it will

   try to create /tmp/.removable, but that directory will already exist from the

   last time, owned by the previous user, so the attempt will fail. Fix by

   installing patch 101514-02." ($Id: faq,v 3.96 1996/04/08)

---------------- the solution I used --------------------------

I took one of the suggestions given by Jens Fischer, no. 4 solution mentioned above, to modify the file /usr/openwin/bin/openwin. It works.

(We are running Solaris 2.3.)

Thanks again for many people's help.

Lingxiu Jiao e-mail:lingxiu@cc.umanitoba.ca

Dept. of gelogical sciences

u. of Manitoba

Canada

*********************** including original post ***********************

yesterday I posted:

> hello sun managers,

>

> I have a problem that whenever users login, a directory of .removable in tmp is created which causes that File Manager can not be opened (mknod: permission denied) next time login.

>

> In this case, superuser has to remove this directory each time.

>

> Dose someone tell me which creates .removable directory and how to avoid this problem?

>

> Thanks in advance! I will summerize.

>

>

************************** end of including *******************************

[5617 byte] By [CodeProf.com] at [2007-12-25 9:57:00]