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 07-09-2011, 11:49 AM   #16
lpallard
Senior Member
 
Registered: Nov 2008
Posts: 1,045

Original Poster
Rep: Reputation: Disabled

OK the up[grade is "complete"! I can now boot (I used the huge kernel instead of the generic)... I believe the generic does not support reiserfs out f the box...

Now what leaves me clueless is the fact that after reboot, I am back in XFCE 4.4.... I however upgraded everything, including the package xfce-4.6 that is installed.... why am I still using 4.4?
 
Old 07-09-2011, 12:11 PM   #17
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Probably you're using the old configuration in your /home directory and there is something "disordered". What you could try is the following, rename the directory for the configuration of xfce in your ~/ directory before using startx. You'll have a fresh configuration then, look if there's a change in XFCE. I would recommend to make the whole configuration new and if you cannot seem to find out how to do it, you can look at the old (renamed) configuration.

Markus
 
Old 07-09-2011, 10:07 PM   #18
lpallard
Senior Member
 
Registered: Nov 2008
Posts: 1,045

Original Poster
Rep: Reputation: Disabled
I confirm I am using the new XFCE 4.6... I dont know why but the help (XFCE help) reported version 4.4.... the title of the Help page is

Xfce 4.4 Documentation

and points to

Code:
file:///usr/share/xfce4/doc/C/index.html
Maybe they forgot to change this... Anyways, not a big deal..

Now back on initial topic, I still cant use a USB stick unless I am root.... Same again.

Any more ideas? Can I somewhere get some more infor for you guys? Some logs?

when connecting the USB stick, a tail -f /var/log/messages reveals:

Code:
Jul  9 23:07:53 xpsm1730 kernel: [37891.373611] usb 2-2.3: new high speed USB device using ehci_hcd and address 8
Jul  9 23:07:53 xpsm1730 kernel: [37891.449975] usb 2-2.3: New USB device found, idVendor=0781, idProduct=5151
Jul  9 23:07:53 xpsm1730 kernel: [37891.449984] usb 2-2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jul  9 23:07:53 xpsm1730 kernel: [37891.449991] usb 2-2.3: Product: Cruzer Micro
Jul  9 23:07:53 xpsm1730 kernel: [37891.449996] usb 2-2.3: Manufacturer: SanDisk
Jul  9 23:07:53 xpsm1730 kernel: [37891.450000] usb 2-2.3: SerialNumber: 1738131D78533904
Jul  9 23:07:53 xpsm1730 kernel: [37891.451506] scsi8 : usb-storage 2-2.3:1.0
Jul  9 23:07:54 xpsm1730 kernel: [37892.453111] scsi 8:0:0:0: Direct-Access     SanDisk  Cruzer Micro     8.02 PQ: 0 ANSI: 0 CCS
Jul  9 23:07:54 xpsm1730 kernel: [37892.453642] sd 8:0:0:0: Attached scsi generic sg3 type 0
Jul  9 23:07:54 xpsm1730 kernel: [37892.456785] sd 8:0:0:0: [sdc] Attached SCSI removable disk
Jul  9 23:07:57 xpsm1730 kernel: [37895.005203] sd 8:0:0:0: [sdc] 15695871 512-byte logical blocks: (8.03 GB/7.48 GiB)
Jul  9 23:07:57 xpsm1730 kernel: [37895.008398]  sdc: sdc1
Jul  9 23:07:57 xpsm1730 hald: mounted /dev/sdc1 on behalf of uid 0
And unplugging it reveals:

Code:
Jul  9 23:09:26 xpsm1730 kernel: [37984.878911] usb 2-2.3: USB disconnect, address 8
Jul  9 23:09:26 xpsm1730 hald[2273]: forcibly attempting to lazy unmount /dev/sdc1 as enclosing drive was disconnected
Jul  9 23:09:26 xpsm1730 hald: unmounted /dev/sdc1 from '/media/USBSLACK' on behalf of uid 0

Last edited by lpallard; 07-09-2011 at 10:09 PM.
 
Old 07-10-2011, 02:21 AM   #19
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Hello lpallard,

your user should be member of the "plugdev" group. You can check this with the
Code:
groups
command. If this does not help, you should read the tutorial about udevrules here http://reactivated.net/writing_udev_rules.html

I'm running KDE and my USB-devices are mounted automatically. I don't think that this can be that difficult with XFCE.

Markus
 
Old 07-10-2011, 12:29 PM   #20
lpallard
Senior Member
 
Registered: Nov 2008
Posts: 1,045

Original Poster
Rep: Reputation: Disabled
OK I might have found the problem....

This specific USB stick gets mounted under /media/USBSTICK... I verified the permissions of this folder and here it is:

Code:
bash-4.1# ls -l 
drwxr-xr-x 2 root root 4096 Dec 31  1969 USBSTICK
So as you can see, this folder does not have write permissions for anything erxcept the owner, root.

I tried to change the permissions while the stick was mounted there, but it does not work. No errors are issued, i/e/ I see nothing when I try, but the permissions are kept the same.

I used

Code:
chmod 777 USBSTICK
At first I thought it was because the stick was mounted. Then I unplugged the stick but the mount point dissapeared (normal). I also tried using a root session and via the GUI, same thing. It seems to complete successfully, but the permissions are not changed.

So here are my questions:

Could it be my problem?
If so, how do I change these permissions permanently? I imagine there must be a way to get the mount point created with these permissions at first?
Then if it works for this one, how do I get EVERY future mount points for USB sticks or hard drives mounted with proper permissions? I really dont want to screw around this every time I want to use a stupid usb stick....


EDIT: Whats up with that 1969 date? THis stick is not that old...

Last edited by lpallard; 07-10-2011 at 12:35 PM.
 
Old 07-10-2011, 12:42 PM   #21
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Hi,

first thing: you cannot change permissions on a fat-filesystem because this filesystem is quite old and doesn't support permissions.

Did you check if your user (yourself probably) is member of the plugdev-group?

Here (I'm using KDE) a memory-stick is automatically mounted and the permissions are
Code:
drwxr-xr-x 14 markus root  32K Jan  1  1970 disk/
Markus
 
Old 07-10-2011, 03:02 PM   #22
lpallard
Senior Member
 
Registered: Nov 2008
Posts: 1,045

Original Poster
Rep: Reputation: Disabled
OK I understand for the fat permissions, I myself knew but forgot....

Yes I am member of the plugdev group. Confirmed with both Kuser (KDE Users) and the CLI:

Code:
bash-4.1# groups lpallard
lpallard : users floppy audio video cdrom plugdev power netdev vboxusers
And we have the same kind of permissions (from what I can see in your last post...)

Anything else ?
 
Old 07-10-2011, 03:06 PM   #23
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Quote:
Originally Posted by lpallard View Post
...
And we have the same kind of permissions (from what I can see in your last post...)

Anything else ?
No! we don't, at your output owner is root and group is root. In my output of ls the user (markus) is owner and the group is root.

This is the difference.

Markus
 
  


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
HAL automount permissions differs between USB HD and USB memory stick Olaus Slackware 5 06-28-2010 06:34 PM
How to fix USB Pen Drive unmount problems with slack 9.1? asowani Linux - Software 4 04-24-2008 03:16 AM
Unable to unmount HAL-mounted device dunric Slackware 4 08-24-2006 08:21 AM
Unmount USB Drive stevsom Linux - General 2 05-15-2005 12:21 AM
Mandrake 10 problems...all USB related steelerguy Mandriva 6 07-02-2004 08:49 AM

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

All times are GMT -5. The time now is 06:10 PM.

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