OT: find command permissions: how to exclude dir?
by Dave Burns
I have a cron job that runs 'find /' as root, keeps blowing up when
encountering ~/.gvfs in my home dir. Permissions are set like so:
ls -la ~/.gvfs
total 4
dr-x------ 2 tburns isys 0 2008-10-13 07:43 .
drwxr-xr-x 73 tburns root 4096 2008-10-24 11:49 ..
As owner of dir, no problem:
find /users/tburns ! -name .gvfs |grep gvfs
As root, boom:
sudo find /users/tburns ! -name .gvfs |grep gvfs
[sudo] password for tburns:
find: /users/tburns/.gvfs: Permission denied
When I create another similar directory, same permissions, root has no
problem with it. But note ***the copy has a different file size
(original size=0, copy size=4096)***:
[tburns@cod ~]$ cp -pr .gvfs .gvfscopy
[tburns@cod ~]$ ls -la .gvfscopy
total 8
dr-x------ 2 tburns isys 4096 2008-10-13 07:43 .
drwxr-xr-x 76 tburns root 4096 2008-10-29 10:56 ..
[tburns@cod ~]$ sudo find /users/tburns/.gvfscopy
/users/tburns/.gvfscopy
.gvfs is using some secret sauce that I don't understand to prevent
root from accessing it. Is there some ACL stuff going on here?
(getfacl results are boring.) File locking? (lsof says it is not
open.) Corruption? How can it be that root is denied? I wonder what
would happen if I deleted .gvfs and recreated it manually with
identical permissions?
I tried googling gvfs and permissions, got many many irrelevant hits.
Some hits described a similar problem, but always veer off to a
workaround for their specific situation, no general solution. Please
at least give me a hint what to do or what to google for.
My brain hurts!
Dave
15 years, 6 months
Lost .jpg thumbnails
by John Lagrue
Some time over the last month of so my Gnome desktop has lost the ability to
generate thumbnails of jpgs.
I have all the options set; the maximum filesize for thumbnails is set to
10Mb, so that's not the issue. Bmp, gif and png files all show as thumbnails
in Nautilus - but no jpgs do.
Does anyone have an idea of what might have gone wrong?
JDL
15 years, 6 months
hotmail doesn't work
by Fred Silsbee
under F9 Firefox 2.0.3 hotmail doesn't work
also under XP Prof IE7 and Firefox 2.0.3
good old outsourcing
15 years, 6 months
Re: Java plugin stopped working.
by Steve Blackwell
---- Lillian Angel <langel(a)redhat.com> wrote:
> Hi,
>
> Steve wrote:
> > ---- Deepak Bhole <dbhole(a)redhat.com> wrote:
> >
> >> * Steve <zephod(a)cfl.rr.com> [2008-11-05 13:30]:
> >>
> >>> ---- Deepak Bhole <dbhole(a)redhat.com> wrote:
> >>>
> >>>> * Steve <zephod(a)cfl.rr.com> [2008-11-04 10:42]:
> >>>>
> >>>>> I'm using 2.22.2 of ephipany and my java plugin seems to have stopped working presumably as a result of a recent update (nspluginwrapper-1.1.2.2.fc9.x86_64?).
> >>>>>
> >
> > ...
> >
> >
> >>>> Hi Steve,
> >>>>
> >>>> If you type in about:plugins in the address bar and hit enter, do you
> >>>> see Java in the list that shows up?
> >>>>
> >>> No, there is no java in the list.
> >>>
> >>>
> >>>> If it does not, can you paste the output of:
> >>>> ls -l /etc/alternatives/*javaplugin*
> >>>>
> >>> $ ls -l /etc/alternatives/*javaplugin*
> >>> lrwxrwxrwx 1 root root 63 2008-11-03 14:55 /etc/alternatives/libjavaplugin.so.x86_64 -> /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/lib/amd64/gcjwebplugin.so
> >>>
> >>> Thanks for taking the time to help.
> >>>
> >>>
> >> Alright, so that link looks good. We need to figure out now if that plugin
> >> exists, and if mozilla is expected to be seeing it. So, can you post the
> >> output of:
> >>
> >> ls -l /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/lib/amd64/gcjwebplugin.so
> >>
> >> and:
> >>
> >> ls -l /usr/lib64/mozilla/plugins/*java*
> >>
> >> Deepak
> >>
> >
> > [sblackwell@asa-ws-053 ~]$ ls -l /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/lib/amd64/gcjwebplugin.so
> > ls: cannot access /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/lib/amd64/gcjwebplugin.so: No such file or directory
> >
> > So that looks like a problem:
> >
> > [sblackwell@asa-ws-053 ~]$ locate gcjwebplugin.so
> > /usr/lib/gcj-4.3.0/libgcjwebplugin.so
> > /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/gcjwebplugin.so
> > /usr/lib64/gcj-4.3.0/libgcjwebplugin.so
> > /usr/share/doc/libgcj-4.3.0/README.libgcjwebplugin.so
> >
>
> This is odd, to have the JDK
> (/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/), you must have
> installed java-1.6.0-openjdk-devel.
I don't believe I have ever installed java-1.6.0-openjdk-devel
# rpm -qa | grep openjdk
java-1.6.0-openjdk-plugin-1.6.0.0-0.18.b09.fc9.x86_64
java-1.6.0-openjdk-1.6.0.0-0.18.b09.fc9.i386
# grep openjdk-devel /var/log/yum.log*
#
These logs go back to the beginning of June. I know I didn't install it manually.
Therefore, you must have installed
> java-1.6.0-openjdk, which in turn provides the
> /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/ directory
> (java-1.6.0-openjdk-plugin provides
> /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/lib/amd64/gcjwebplugin.so). Seems
> like your links got nuked or you lost some files somewhere.
>
> The only thing I can suggest is removing all your java-1.6.0-openjdk
> packages, and reinstall them all. Be sure you at least have
> java-1.6.0-openjdk, and java-1.6.0-openjdk-plugin.
>
OK I'll try that tomorrow.
Thanks,
Steve
>
> Let me know if that works,
> Lillian
>
>
> > Seems there is an extra jre in the path.
> >
> > [sblackwell@asa-ws-053 ~]$ ls -l /usr/lib64/mozilla/plugins/*java*
> > lrwxrwxrwx 1 root root 41 2008-11-03 14:55 /usr/lib64/mozilla/plugins/libjavaplugin.so -> /etc/alternatives/libjavaplugin.so.x86_64
> >
> > Steve
15 years, 6 months
panel - only show icons for current desktop ?
by Kevin Kempter
Hi All;
Is it possible in KDE 4.2 to configure the panel to only show icons
(for running programs) for programs running in the current desktop
instead of showing icons for all desktops ?
Thanks in advance
15 years, 6 months
Re: Java plugin stopped working.
by Steve Blackwell
---- Deepak Bhole <dbhole(a)redhat.com> wrote:
> * Steve <zephod(a)cfl.rr.com> [2008-11-05 13:30]:
> >
> > ---- Deepak Bhole <dbhole(a)redhat.com> wrote:
> > > * Steve <zephod(a)cfl.rr.com> [2008-11-04 10:42]:
> > > > I'm using 2.22.2 of ephipany and my java plugin seems to have stopped working presumably as a result of a recent update (nspluginwrapper-1.1.2.2.fc9.x86_64?).
...
> > > Hi Steve,
> > >
> > > If you type in about:plugins in the address bar and hit enter, do you
> > > see Java in the list that shows up?
> >
> > No, there is no java in the list.
> >
> > > If it does not, can you paste the output of:
> > > ls -l /etc/alternatives/*javaplugin*
> >
> > $ ls -l /etc/alternatives/*javaplugin*
> > lrwxrwxrwx 1 root root 63 2008-11-03 14:55 /etc/alternatives/libjavaplugin.so.x86_64 -> /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/lib/amd64/gcjwebplugin.so
> >
> > Thanks for taking the time to help.
> >
>
>
> Alright, so that link looks good. We need to figure out now if that plugin
> exists, and if mozilla is expected to be seeing it. So, can you post the
> output of:
>
> ls -l /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/lib/amd64/gcjwebplugin.so
>
> and:
>
> ls -l /usr/lib64/mozilla/plugins/*java*
>
> Deepak
[sblackwell@asa-ws-053 ~]$ ls -l /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/lib/amd64/gcjwebplugin.so
ls: cannot access /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/lib/amd64/gcjwebplugin.so: No such file or directory
So that looks like a problem:
[sblackwell@asa-ws-053 ~]$ locate gcjwebplugin.so
/usr/lib/gcj-4.3.0/libgcjwebplugin.so
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/gcjwebplugin.so
/usr/lib64/gcj-4.3.0/libgcjwebplugin.so
/usr/share/doc/libgcj-4.3.0/README.libgcjwebplugin.so
Seems there is an extra jre in the path.
[sblackwell@asa-ws-053 ~]$ ls -l /usr/lib64/mozilla/plugins/*java*
lrwxrwxrwx 1 root root 41 2008-11-03 14:55 /usr/lib64/mozilla/plugins/libjavaplugin.so -> /etc/alternatives/libjavaplugin.so.x86_64
Steve
15 years, 6 months
Fedora9 (KDE4) and multiple screens
by Kevin Kempter
Hi All;
Does Fedora9 (and KDE4) support multiple screens? If so, how do I
configure them? Can I have 2 screens (my laptop screen and a external)
each with different resolution ?
Thanks in advance
15 years, 6 months
Re: Java plugin stopped working.
by Steve Blackwell
---- Deepak Bhole <dbhole(a)redhat.com> wrote:
> * Steve <zephod(a)cfl.rr.com> [2008-11-05 14:44]:
> >
> > ---- Deepak Bhole <dbhole(a)redhat.com> wrote:
> > > * Steve <zephod(a)cfl.rr.com> [2008-11-05 13:30]:
> > > >
> > > > ---- Deepak Bhole <dbhole(a)redhat.com> wrote:
> > > > > * Steve <zephod(a)cfl.rr.com> [2008-11-04 10:42]:
> > > > > > I'm using 2.22.2 of ephipany and my java plugin seems to have stopped working presumably as a result of a recent update (nspluginwrapper-1.1.2.2.fc9.x86_64?).
> >
> > ...
> >
> > > > > Hi Steve,
> > > > >
> > > > > If you type in about:plugins in the address bar and hit enter, do you
> > > > > see Java in the list that shows up?
> > > >
> > > > No, there is no java in the list.
> > > >
> > > > > If it does not, can you paste the output of:
> > > > > ls -l /etc/alternatives/*javaplugin*
> > > >
> > > > $ ls -l /etc/alternatives/*javaplugin*
> > > > lrwxrwxrwx 1 root root 63 2008-11-03 14:55 /etc/alternatives/libjavaplugin.so.x86_64 -> /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/lib/amd64/gcjwebplugin.so
> > > >
> > > > Thanks for taking the time to help.
> > > >
> > >
> > >
> > > Alright, so that link looks good. We need to figure out now if that plugin
> > > exists, and if mozilla is expected to be seeing it. So, can you post the
> > > output of:
> > >
> > > ls -l /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/lib/amd64/gcjwebplugin.so
> > >
> > > and:
> > >
> > > ls -l /usr/lib64/mozilla/plugins/*java*
> > >
> > > Deepak
> >
> > [sblackwell@asa-ws-053 ~]$ ls -l /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/lib/amd64/gcjwebplugin.so
> > ls: cannot access /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/lib/amd64/gcjwebplugin.so: No such file or directory
> >
> > So that looks like a problem:
> >
> > [sblackwell@asa-ws-053 ~]$ locate gcjwebplugin.so
> > /usr/lib/gcj-4.3.0/libgcjwebplugin.so
> > /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/gcjwebplugin.so
> > /usr/lib64/gcj-4.3.0/libgcjwebplugin.so
> > /usr/share/doc/libgcj-4.3.0/README.libgcjwebplugin.so
> >
>
> Yep, so that is definitely the problem. The alternatives seem to be
> messed up. Not really sure why that happened. Can you paste the output
> of:
>
> alternatives --display libjavaplugin.so.x86_64 ?
>
> (that will tell me if just the link is bad, or if the alternatives
> setup itself is broken)
>
[sblackwell@hp19748184096 ~]$ sudo /usr/sbin/alternatives --display libjavaplugin.so.x86_64
libjavaplugin.so.x86_64 - status is auto.
link currently points to /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/lib/amd64/gcjwebplugin.so
/usr/lib/jvm/jre-1.6.0-openjdk.x86_64/lib/amd64/gcjwebplugin.so - priority 16000
Current `best' version is /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/lib/amd64/gcjwebplugin.so.
> Deepak
>
> > Seems there is an extra jre in the path.
> >
> > [sblackwell@asa-ws-053 ~]$ ls -l /usr/lib64/mozilla/plugins/*java*
> > lrwxrwxrwx 1 root root 41 2008-11-03 14:55 /usr/lib64/mozilla/plugins/libjavaplugin.so -> /etc/alternatives/libjavaplugin.so.x86_64
> >
> > Steve
15 years, 6 months
madwifi, F9, atheros 5413 cards
by PH mooraa
Hi All,
--
reposting the question on this forum because I think the problem is with
Fedora not madwifi
--
I am trying to use Adhoc mode with AR5413 card (5006 chipset) with following
-
#uname -a
Linux localhost.localdomain 2.6.25-14.fc9.i686 #1 SMP Thu May 1 06:28:41 EDT
2008 i686 athlon i386 GNU/Linux
There are 2 machines running F9/madwifi and having same cards in adhoc mode.
(livna - madwifi-0.9.4-1.lvn9.i386, kmod-madwifi-0.9.4-31.lvn9.i686,
kmod-madwifi-2.6.25-14.fc9.i686-0.9.4-31.lvn9.i686,
madwifi-devel-0.9.4-1.lvn9.i386)
In adhoc mode, they associate with each other (same cell ID) but are not
able to further communicate. ath0 interface created on top of wifi0 does not
receive any packets but wifi0 do receive. I am not able to ping one from
another. routes are set.
#iwconfig
ath0 IEEE 802.11g ESSID:"wmnad" Nickname:"localhost.localdomain"
Mode:Ad-Hoc Frequency:2.412 GHz Cell: 02:02:6F:51:77:3A
Bit Rate:0 kb/s Tx-Power:15 dBm Sensitivity=1/1
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=46/70 Signal level=-41 dBm Noise level=-87 dBm
Rx invalid nwid:7069 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
#ifconfig
ath0 Link encap:Ethernet HWaddr 00:02:6F:51:77:3A
inet addr:11.11.11.1 Bcast:11.11.11.255 Mask:255.255.255.0
inet6 addr: fe80::202:6fff:fe51:773a/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:527 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:23013 (22.4 KiB)
wifi0 Link encap:UNSPEC HWaddr
00-02-6F-51-77-3A-F4-AF-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:233405 errors:0 dropped:0 overruns:0 frame:41464
TX packets:18774 errors:25 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:199
RX bytes:33609299 (32.0 MiB) TX bytes:1602695 (1.5 MiB)
On both machines ath0 RX packets remains 0 and I don't know why is this
happening!!! Can someone please help..
I think that there no problems with ath_pci loading as can be seen -
#dmesg
ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 0.9.18.0 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
..
wlan: 0.9.4
ath_pci: 0.9.4
..
ath_rate_sample: 1.2 (0.9.4)
wifi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps
24Mbps 36Mbps 48Mbps 54Mbps
wifi0: H/W encryption support: WEP AES AES_CCM TKIP
wifi0: mac 10.4 phy 6.1 radio 6.3
wifi0: Use hw queue 1 for WME_AC_BE traffic
wifi0: Use hw queue 0 for WME_AC_BK traffic
wifi0: Use hw queue 2 for WME_AC_VI traffic
wifi0: Use hw queue 3 for WME_AC_VO traffic
wifi0: Use hw queue 8 for CAB traffic
wifi0: Use hw queue 9 for beacons
wifi0: Atheros 5212: mem=0xfdef0000, irq=18
..
ath0: no IPv6 routers present
ADDRCONF(NETDEV_UP): ath0: link is not ready
ADDRCONF(NETDEV_CHANGE): ath0: link becomes ready
ath0: no IPv6 routers present
ath0: no IPv6 routers present
My configuration file for interface is like -
#cat ifcfg-ath0
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
TYPE=Wireless
DEVICE=ath0
HWADDR=00:02:6f:51:77:3a
BOOTPROTO=none
NETMASK=255.255.255.0
DHCP_HOSTNAME=
IPADDR=11.11.11.1
DOMAIN=
ONBOOT=no
USERCTL=no
PEERDNS=yes
IPV6INIT=no
ESSID=cwmnad
CHANNEL=1
MODE=Ad-Hoc
RATE=auto
ENCRYPTION=off
SECURITYMODE=off
IWPRIV="authmode 1"
In last 3 lines, I overdid security because initially I thought the problem
is due to authentication. I don't want any security at this point.
[ Other tests -
- the same card works in managed mode and connects to my building's WLAN AP.
This makes me wonder more what I doing wrong.
- same cards with madwifi 0.9.4 works on Ubuntu in ad-hoc mode which shows
that something in Fodora is going wrong. I really like F9 and really don't
want to switch to ubuntu. ]
Any help is really appreciated.
Thanks in advance,
phm
15 years, 6 months
Re: Java plugin stopped working.
by Steve Blackwell
---- Deepak Bhole <dbhole(a)redhat.com> wrote:
> * Steve <zephod(a)cfl.rr.com> [2008-11-04 10:42]:
> > I'm using 2.22.2 of ephipany and my java plugin seems to have stopped working presumably as a result of a recent update (nspluginwrapper-1.1.2.2.fc9.x86_64?).
> >
> > If I go to this site:
> >
> > http://www.javatester.org/index.html
> >
> > then select the Java Version tab, it says "Browser has Java disabled" . On the privacy tab of the Prefereces option from the Edit menu in Ephipany I see that I have both Java and Javascript enabled.
> >
> > If I go to the Javascript tab of the above site, it tells me that java scrip is working and that I have Javascript version 1.8 and Firefox version 3.0.
> >
> > # rpm -qa | grep java
> > java_cup-0.10-0.k.6jpp.2.x86_64
> > tzdata-java-2008i-1.fc9.noarch
> > java-1.5.0-gcj-1.5.0.0-21.fc9.x86_64
> > java-1.6.0-openjdk-plugin-1.6.0.0-0.18.b09.fc9.x86_64
> > glib-java-0.2.6-12.fc9.x86_64
> > java-1.6.0-openjdk-1.6.0.0-0.18.b09.fc9.i386
> >
> > # java -versionjava version "1.6.0"
> > OpenJDK Runtime Environment (build 1.6.0-b09)
> > OpenJDK Server VM (build 1.6.0-b09, mixed mode)
> >
> > Any hints? Do I need to install Sun's java?
> >
> > Steve
> >
>
> Hi Steve,
>
> If you type in about:plugins in the address bar and hit enter, do you
> see Java in the list that shows up?
No, there is no java in the list.
> If it does not, can you paste the output of:
> ls -l /etc/alternatives/*javaplugin*
$ ls -l /etc/alternatives/*javaplugin*
lrwxrwxrwx 1 root root 63 2008-11-03 14:55 /etc/alternatives/libjavaplugin.so.x86_64 -> /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/lib/amd64/gcjwebplugin.so
Thanks for taking the time to help.
Steve
15 years, 6 months