LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-16-2004, 05:03 PM   #1
Pauli
Member
 
Registered: Feb 2004
Location: Montreal
Distribution: Gentoo/Debian
Posts: 365

Rep: Reputation: 30
Problem loading


I have installed Slack 9.1 to a partition. I can dual boot and whatnot and i get to the Deathstar or whatever. I log in as root and when I go startx it works fine and brings me to GNOME.

There I can access my music from my mounted fat32 drive, but for some reason when I made a user and logged in, it doesnt let me. It wont give me the folders in the mounted drive. I see the titles for them, but it gives them as a little gnome icon and when I click on them it says there is no app for it. Why is this? Root can access them fine, but it cannot change the permissions.

I would like some help on this one.
 
Old 03-16-2004, 05:18 PM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Please post the output of ->
$ cat /etc/fstab
You may also want to look at this File permissions guide

Last edited by Bruce Hill; 03-16-2004 at 05:21 PM.
 
Old 03-16-2004, 05:33 PM   #3
Pauli
Member
 
Registered: Feb 2004
Location: Montreal
Distribution: Gentoo/Debian
Posts: 365

Original Poster
Rep: Reputation: 30
Well. I dont have the internet at home, so I cant. But to me, the fstab looks fine. When I get it Ill post it.
 
Old 03-16-2004, 05:55 PM   #4
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
There are 3 partitions listed which are FAT32. They mount automatically,
and I can rw (read, write) to them all. They are /dev/hda5, /dev/hdb1,
and /dev/hdb6 - comparing this to yours, and then reading the sticky
on file permissions should get you down the road...


Code:
bash-2.05b$ cat /etc/fstab
/dev/hda7        swap             swap        defaults         0   0
/dev/hda8        /                reiserfs    defaults         1   1
/dev/hda6        /boot            reiserfs    defaults         1   2
/dev/hda9        /home            reiserfs    defaults         1   2
/dev/hda10       /var             reiserfs    defaults         1   2
/dev/hda11       /tmp             reiserfs    defaults         1   2
/dev/hdb5        /usr             reiserfs    defaults         1   2
/dev/hda5        /WinE            vfat        user,umask=1000,rw,auto 0 0
/dev/hdb1        /WinD            vfat        user,umask=1000,rw,auto 0 0
/dev/hdb6        /AppSwap         vfat        user,umask=1000,rw,auto 0 0
/dev/sda1        /mnt/ondata      vfat        user,umask=1000,rw,auto 0 0
/dev/cdrom       /mnt/cdrom       iso9660     user,unhide,noauto,owner,ro  0   0
/dev/fd0         /mnt/floppy      auto        noauto,owner     0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
Quote:

I log in as root and when I go startx it works fine and brings me to GNOME.

You should NEVER login to your system as root. Login as the normal user!
 
Old 03-17-2004, 03:37 PM   #5
Pauli
Member
 
Registered: Feb 2004
Location: Montreal
Distribution: Gentoo/Debian
Posts: 365

Original Poster
Rep: Reputation: 30
Yes yes. Im not that stupid, but I hate the permissions. I do not like having it tell me I dont have permissions. It irritates me greatly, and is there any way to automatically go into startx with slack?
 
Old 03-17-2004, 06:21 PM   #6
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Quote:
Originally posted by Pauli
Yes yes. Im not that stupid, but I hate the permissions.
Did I imply that you're stupid? You shouldn't get offended when you post for
free advice and someone gives it...
Quote:
I do not like having it tell me I dont have permissions. It irritates me greatly
With Windoze eXeriment, by default you login as root every time, and every
one of over 65,000 ports on your computer are open to the internet - unless
you've personally created a restricted login and manually closed ports. There
are no permission problems, and nothing holding script kiddies and crackers back.
This method is irresponsible and unsecure.

With Slack 9.1 by default you login as a normal user who only has write
permissions to one directory - /home/user_name. Your system can't be ruined
by some stupid worm, script, virii, or malicious cracker. This is responsible and
secure.

However, one can run his *nix system (personal computer) any way one likes.
Quote:
and is there any way to automatically go into startx with slack?
Why, of course. Edit /etc/inittab and change to run level 4.
Code:
bash-2.05b$ cat /etc/inittab
#
<snip, snip>
#

# These are the default runlevels in Slackware:
#   0 = halt
#   1 = single user mode
#   2 = unused (but configured the same as runlevel 3)
#   3 = multiuser mode (default Slackware runlevel)
#   4 = X11 with KDM/GDM/XDM (session managers)
#   5 = unused (but configured the same as runlevel 3)
#   6 = reboot

# Default runlevel. (Do not set to 0 or 6)
id:3:initdefault:    <--- change that 3 to 4 buddy :}
Quote:
There I can access my music from my mounted fat32 drive, but for some reason when I made a user and logged in, it doesnt let me. It wont give me the folders in the mounted drive.
Not to insult your intelligence again :} but are you sure it's FAT32 and not NTFS?
At this moment I'm playing .mp3 music from a FAT32 drive in XMMS while logged in
as a normal user. Look at the music files ->
Code:
bash-2.05b$ ls -alc /AppSwap/My_Music/mp3/Worship_Again/
total 59984
drwxrwxrwx    2 root     root        16384 Mar  4 00:11 .
drwxrwxrwx   23 root     root        16384 Mar  4 00:11 ..
-rwxrwxrwx    1 root     root      6082561 Mar  4 00:11 01 Step by Step-Forever We Will Sing.mp3
-rwxrwxrwx    1 root     root      4069249 Mar  4 00:11 02 You Are the Lord.mp3
-rwxrwxrwx    1 root     root      6086401 Mar  4 00:11 03 The Wonderful Cross.mp3
-rwxrwxrwx    1 root     root      4385665 Mar  4 00:11 04 Ancient Words.mp3
-rwxrwxrwx    1 root     root      5013505 Mar  4 00:11 05 Lord Have Mercy.mp3
-rwxrwxrwx    1 root     root      1650817 Mar  4 00:11 06 The Sacred Romance [Instrumental] [Live][Instrumental].mp3
-rwxrwxrwx    1 root     root      3381889 Mar  4 00:11 07 I Can Hear Your Voice.mp3
-rwxrwxrwx    1 root     root      3250945 Mar  4 00:11 08 I Give You My Heart.mp3
-rwxrwxrwx    1 root     root      2032897 Mar  4 00:11 09 There Is None Like You.mp3
-rwxrwxrwx    1 root     root      6627841 Mar  4 00:11 10 I See You.mp3
-rwxrwxrwx    1 root     root      5842945 Mar  4 00:11 11 You Are Holy (Prince of Peace).mp3
-rwxrwxrwx    1 root     root      4215937 Mar  4 00:11 12 Lord Have Mercy.mp3
-rwxrwxrwx    1 root     root      4737793 Mar  4 00:11 13 Here I Am to Worship.mp3
-rwxrwxrwx    1 root     root      3874177 Mar  4 00:11 14 There She Stands [-].mp3
All of these music files are owned by root, but I'm playing them as a user. Perhaps
you don't have your user in the audio group? Issue the command as root
# adduser your_user_name audio
Sorry but I can't think of anything else. With my Slack 9.1 system "it just works."
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
time consuming loading of Openoffice and endless loading of printing capabilities artjaslo Linux - General 6 08-03-2005 01:30 PM
Has a problem when loading suckerr70 Linux - Newbie 7 04-17-2005 01:27 AM
loading problem devit Slackware 3 04-14-2004 02:11 PM
Finding Module Dependencies...(Still loading...still loading..still loading..HANG!!!) Aeudian Linux - General 3 08-11-2003 03:31 PM
Finding Module Dependencies.....(still loading....Still loading....still loading) Aeudian Linux - Newbie 1 07-28-2003 02:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration