LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 07-09-2009, 06:11 AM   #1
iwtbf
LQ Newbie
 
Registered: Apr 2009
Location: cybernetic space
Distribution: debian
Posts: 27

Rep: Reputation: 0
Question Mounting SD card


I have a EEE with a 8gb harddrive and to get a little more space I want my SD card to be mounted all the time to ~/sdcard/. I got this to work properly but the problem is that I don't have the rights to do anything with sdcard/

Code:
ls: cannot open directory sdcard/: Permission denied
I've changed the directory right to:
chown jonas:jonas sdcard
&
chmod 777 sdcard

And changed the rights to /deb/sdb1 where I mount the SD card from..

But when I mount it the sdcard directory get's this rights:
Code:
d---------  2 root  root     16384 1970-01-01 01:00 sdcard
I've tryed diffrent combinations in fstab but still the same frustating result.
Currently it looks like this:
Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/sda1       /               ext3    errors=remount-ro 0       1
/dev/sda6       /home           ext3    defaults        0       2
/dev/sda5       none            swap    sw              0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto     0       0
/dev/sdb1       /home/jonas/sdcard vfat    rw,users,owner,umask=777        0       0 
I'm going mad about this. Why doesn't I get normal user rights?

uname -a
Linux lillen 2.6.26-2-686 #1 SMP Sun Jun 21 04:57:38 UTC 2009 i686 GNU/Linux @ a asus eee 701sd if it does matter.

Please help me.
 
Old 07-09-2009, 08:40 AM   #2
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
umask=000
 
Old 07-11-2009, 12:01 PM   #3
iwtbf
LQ Newbie
 
Registered: Apr 2009
Location: cybernetic space
Distribution: debian
Posts: 27

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Agrouf View Post
umask=000
Great! Thanks. It's working now!
 
Old 07-11-2009, 02:01 PM   #4
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
Nice! umask is the inverse of the rights you want. 777 means you want no right at all. 000 means you want all.
 
  


Reply

Tags
fstab, mounting, sdcard


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SD Card Reader not mounting ugsuqish Linux - Laptop and Netbook 13 09-03-2008 11:46 AM
Mounting a SanDisk 2GB SD card solex Linux - Hardware 9 10-03-2007 06:28 PM
mounting a SD Card... toyotadesigner Linux - Laptop and Netbook 5 11-12-2005 03:21 AM
Mounting pcmcia/cf card mickeyboa Fedora 1 10-05-2005 07:58 PM
CF card mounting anandj Fedora 9 08-05-2004 10:32 PM


All times are GMT -5. The time now is 12:08 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration