LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - General
User Name
Password
Linux - General This 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

Tags used in this thread
Popular LQ Tags , ,

Reply
 
Thread Tools
Old 07-09-2009, 07:11 AM   #1
iwtbf
LQ Newbie
 
Registered: Apr 2009
Location: sweden
Distribution: debian
Posts: 14
Thanked: 0
Question Mounting SD card


[Log in to get rid of this advertisement]
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.
iwtbf is offline  
Tag This Post , ,
Reply With Quote
Old 07-09-2009, 09:40 AM   #2
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,404
Thanked: 34
umask=000
Agrouf is offline     Reply With Quote
Old 07-11-2009, 01:01 PM   #3
iwtbf
LQ Newbie
 
Registered: Apr 2009
Location: sweden
Distribution: debian
Posts: 14
Thanked: 0

Original Poster
Quote:
Originally Posted by Agrouf View Post
umask=000
Great! Thanks. It's working now!
iwtbf is offline     Reply With Quote
Old 07-11-2009, 03:01 PM   #4
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,404
Thanked: 34
Nice! umask is the inverse of the rights you want. 777 means you want no right at all. 000 means you want all.
Agrouf is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
SD Card Reader not mounting ugsuqish Linux - Laptop and Netbook 13 09-03-2008 12:46 PM
Mounting a SanDisk 2GB SD card solex Linux - Hardware 9 10-03-2007 07:28 PM
mounting a SD Card... toyotadesigner Linux - Laptop and Netbook 5 11-12-2005 04:21 AM
Mounting pcmcia/cf card mickeyboa Fedora 1 10-05-2005 08:58 PM
CF card mounting anandj Fedora 9 08-05-2004 11:32 PM


All times are GMT -5. The time now is 05:41 PM.

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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration