LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 01-21-2006, 09:46 AM   #1
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
cannot write to automounted usbdisk


Hi,
when I plug in my USB disk, it gets automounted to /media/usbdisk.
Code:
/dev/sdb1 on /media/usbdisk type subfs (rw,nosuid,nodev,sync,fs=ext2)
However I cannot write to the usbdisk as a normal user:
Code:
pu@susev:/> touch /media/usbdisk/test
touch: cannot touch `/media/usbdisk/test': Permission denied
How can I change this so that a normal user can write to the USB stick?
 
Old 01-21-2006, 09:48 AM   #2
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
Maybe you have no sufficient permissions on the mountpoint:
http://portal.suse.com/sdb/en/2005/0...iteaccess.html
 
Old 01-21-2006, 10:08 AM   #3
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Original Poster
Rep: Reputation: 47
I should have all rights:
Code:
drwxrwxrwx  1 root root 0 2006-01-21 16:14 /media/usbdisk/
Even after "chgrp users /media/usbdisk" there's no change.
 
Old 01-21-2006, 10:50 AM   #4
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Original Poster
Rep: Reputation: 47
It appears to be linked to the fact that I formatted the usb disk with ext2 (although I could mount it fine in Slackware). But even in Slackware every now and then it didn't work and I had to be root to mount it. This was whenever the mount wanted to do an fsck, which only root was allowed to. The bottom line being that ext2 is not a good format for usb sticks.

I've reformatted it to vfat. Now it works well.
 
  


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
Floppy And Dvd Is Not Automounted Anymore lagu2653 Linux - Hardware 1 01-01-2006 01:33 PM
/media/usbdisk mickeyboa Fedora 2 11-12-2005 11:34 AM
Automounted drives showing on the desktop. jimmy042 Fedora 5 08-14-2004 05:14 AM
permission on automounted device? pablowablo Linux - Newbie 3 08-07-2004 09:42 PM
automounted filesystems should be mounted using nosuid ForumKid Linux - Security 2 01-09-2002 01:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 04:14 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