> > > 1. The annoying error when emptying the trash. Sheesh, guys, this
> > > bug has been there since 1.0!
> David Peet wrote:
> >If this is with Win98, it is a bug in Win98 that when it tried to create
> >a "missing" RECYCLED directory in the root of a drive where you do
> >not have permission to create one it, it pops up an error message.
> >This happens when you empty the recycle bin, it goes thru all the
> >drives and tries to create the RECYCLED directory. The workaround is
> >simple, just create such a directory where-ever you have a drive rooted.
> >The error message does not actually stem from any real problem because
> >it is ok to not have a RECYCLED directory there.
> >With Win4Lin 3.0, there will be such a directory in the root of
> >the J drive, so you will not see this problem unless you create a new
> >drive letter that points to a read-only directory.
Dan Swartzendruber wrote:
> Hmmm. All of my drives had Recycled dirs except J. I created one in
> /var/win4lin/dosroot and gave myself access rights to it, but that didn't
> help. What am I missing?
If it is complaining about deleting
a desktop.ini file the problem is that you need to make all the RECYCLED
directories only readable+writeable by whoever can write to the directory
that the RECYCLED directory is in, and make it un-readable and un-writeable
by everyone else. (You can also make it unsearchable too just to make things
regular because typically when not readable you make it non-searchable too.)
NOTE if there is no desktop.ini file in the RECYCLED directory, then you do
not have to make the directory un-readable, but it a good idea to do so
if anyone has permission to create a desktop.ini file in the future.
So make the RECYCLED directory have the same owner and group as the
directory it is in AND for the permissions, take away the read permission
where there is no write permission. E.g. /foo has owner,group of bin,sys
and permission reported by "ls -l" being "drwxrwxr-x" then do these steps
as root:
mkdir /foo/RECYCLED
chown bin /foo/RECYCLED
chgrp sys /foo/RECYCLED
chmod ug+rwx /foo/RECYCLED
chmod o-rwx /foo/RECYCLED
(for just one chmod command "chmod 770 /foo/RECYCLED")
For the J drive RECYCLED directory, remove the desktop.ini file from it and
make the directory unwriteable by everyone. There is no error message
when there is no desktop.ini file and the directory is read-only.
-David
_______________________________________________
Win4Lin-users mailing list
[EMAIL PROTECTED]
https://lists.netraverse.com/mailman/listinfo/win4lin-users