Weird and Sudden permissions problem

Madison Kelly linux-5ZoueyuiTZhBDgjK7y7TUQ at public.gmane.org
Fri Mar 26 22:07:00 UTC 2004


Hi all,

   Just now I was listening to my music in xmms (mixed ogg and mp3) and 
when I went to switch songs and it suddenly started scrolling like it 
could no longer find the files. I verified that I had xmms-mp3 installed 
and tried removing and re-adding the songs but it wouldn't add anything. 
So, I poped open a shell to take a look. Everything -seemed- okay (all 
files owned by my user and globally readable anyway) but alas, no help.

   Here is what happens:

[madison-rsR6PDGiyyg at public.gmane.org Music]$ ls -lah
total 12M
drwxr-xr-x  11 madison madison 4.0K Jan 23 11:59 .
drwxr-xr-x   7 madison madison 4.0K Jan 23 11:59 ..
drw-rw-rw-   7 madison madison 4.0K Jan 23 11:59 Acid Mix
drw-rw-rw-   8 madison madison 4.0K Jan 23 11:58 Ambient
-rw-rw-rw-   1 madison madison 2.3M Jan 23 11:59 
Chobits_Opening_Let-Me-Be-With-You.mp3
drw-rw-rw-   3 madison madison 4.0K Jan 23 11:58 Country
drw-rw-rw-  29 madison madison 4.0K Jan 23 11:58 Happy & Hard
drw-rw-rw-   3 madison madison 4.0K Jan 23 11:57 Incoming
-rw-rw-rw-   1 madison madison 6.2M Jan 23 11:59 
Meryn-Cadell_The-Cat-Carol.mp3
drw-rw-rw-   2 madison madison 4.0K Jan 23 11:56 Off Disk
drw-rw-rw-  34 madison madison 4.0K Jan 23 11:56 Pop
drw-rw-rw-   4 madison madison 4.0K Jan 23 11:54 rip
-rw-rw-rw-   1 madison madison 3.2M Jan 23 11:59 
Serial-Experiment-Lain_Opening.mp3
drw-rw-rw-   3 madison madison 4.0K Jan 23 11:55 ToSort
[madison-rsR6PDGiyyg at public.gmane.org Music]$ cd Country/
bash: cd: Country/: Permission denied
[madison-rsR6PDGiyyg at public.gmane.org Music]$ su
Password:
[root-rsR6PDGiyyg at public.gmane.org Music]# cd Country/
[root-rsR6PDGiyyg at public.gmane.org Country]# ls -lah
total 12M
drw-rw-rw-   3 madison madison 4.0K Jan 23 11:58 .
drwxr-xr-x  11 madison madison 4.0K Jan 23 11:59 ..
drw-rw-rw-   2 madison madison 4.0K Jan 23 11:58 Garth Brooks
-rw-rw-rw-   1 madison madison 4.5M Jan 23 11:58 Natalie MacMaster with 
Cookie Rankin - The Drunken Piper.mp3
-rw-rw-rw-   1 madison madison 4.1M Jan 23 11:58 Pam Tillis - River and 
the Highway.mp3
-rw-rw-rw-   1 madison madison 3.3M Jan 23 11:58 Prairie Oyster - Black 
Eyed Susan.mp3


   Notice that the ownerships are all okay? Despite that as a user I 
can't get into the directory! I tried logging out and back in and then 
(gasp!) even rebooted to no effect.

   Now I tried chowning all the files to root and leaving the global 
readable flag and as root the changes took but when I switch back to the 
user the new ownership isn't seen. See:

[root-rsR6PDGiyyg at public.gmane.org Country]# chown -R root:root *
[root-rsR6PDGiyyg at public.gmane.org Country]# ls -lah
total 12M
drw-rw-rw-   3 madison madison 4.0K Jan 23 11:58 .
drwxr-xr-x  11 madison madison 4.0K Jan 23 11:59 ..
drw-rw-rw-   2 root    root    4.0K Jan 23 11:58 Garth Brooks
-rw-rw-rw-   1 root    root    4.5M Jan 23 11:58 Natalie MacMaster with 
Cookie Rankin - The Drunken Piper.mp3
-rw-rw-rw-   1 root    root    4.1M Jan 23 11:58 Pam Tillis - River and 
the Highway.mp3
-rw-rw-rw-   1 root    root    3.3M Jan 23 11:58 Prairie Oyster - Black 
Eyed Susan.mp3
[root-rsR6PDGiyyg at public.gmane.org Country]# exit
exit
[madison-rsR6PDGiyyg at public.gmane.org Music]$ ls -lah
total 12M
drwxr-xr-x  11 madison madison 4.0K Jan 23 11:59 .
drwxr-xr-x   7 madison madison 4.0K Jan 23 11:59 ..
drw-rw-rw-   7 madison madison 4.0K Jan 23 11:59 Acid Mix
drw-rw-rw-   8 madison madison 4.0K Jan 23 11:58 Ambient
-rw-rw-rw-   1 madison madison 2.3M Jan 23 11:59 
Chobits_Opening_Let-Me-Be-With-You.mp3
drw-rw-rw-   3 madison madison 4.0K Jan 23 11:58 Country
drw-rw-rw-  29 madison madison 4.0K Jan 23 11:58 Happy & Hard
drw-rw-rw-   3 madison madison 4.0K Jan 23 11:57 Incoming
-rw-rw-rw-   1 madison madison 6.2M Jan 23 11:59 
Meryn-Cadell_The-Cat-Carol.mp3
drw-rw-rw-   2 madison madison 4.0K Jan 23 11:56 Off Disk
drw-rw-rw-  34 madison madison 4.0K Jan 23 11:56 Pop
drw-rw-rw-   4 madison madison 4.0K Jan 23 11:54 rip
-rw-rw-rw-   1 madison madison 3.2M Jan 23 11:59 
Serial-Experiment-Lain_Opening.mp3
drw-rw-rw-   3 madison madison 4.0K Jan 23 11:55 ToSort
[madison-rsR6PDGiyyg at public.gmane.org Music]$

  Has anyone seen this before?

Madison

PS - When I launch xmms as root I can load and listen to all of my music 
just fine.

--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list