LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-25-2005, 11:56 AM   #1
alaios
Senior Member
 
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,185

Rep: Reputation: 45
cant access mounted partition


Hi i have just make my partition to be loaded on boot time
Code:
/dev/hda5            /home/alaios/Documents vfat     rw                    1 1
//perasma/mp3        /media/mp3           smbfs      ro,password=''        0 0
Using the two above lines the partitions are correctly mounted at startup.. The only problem now i have is that the first mount line makes the directory inaccesible to the user
I have tried to add the parameter users or user=alaios but then the partition is not mounted on boot time...
What should i do?
-I need the partition to be mounter on startup
-To be accessible from the user alaios.users

/i use suse 9.3
Any suggestion?
Thx
 
Old 07-25-2005, 12:06 PM   #2
Nathanael
Member
 
Registered: May 2004
Location: Karlsruhe, Germany
Distribution: debian, gentoo, os x (darwin), ubuntu
Posts: 940

Rep: Reputation: 32
have you read the man page of mount? the man page will give you opions for vfat mounting, including what needs to be done, for the user to have read/write access to the mounted drive.

you can mount as rood, and try accessing as the user
include all the opions you need (our of mount's man page) and off you go :-)
 
Old 07-26-2005, 08:15 AM   #3
alaios
Senior Member
 
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,185

Original Poster
Rep: Reputation: 45
thx but

thx but do u mean these options?
Code:
 
Mount options for vfat
       First  of  all, the mount options for fat are recognized.  The dotsOK option is explicitly killed by vfat.  Fur‐
       thermore, there are

       uni_xlate
              Translate unhandled Unicode characters to special escaped sequences.  This lets you  backup  and  restore
              filenames that are created with any Unicode characters. Without this option, a '?' is used when no trans‐
              lation is possible. The escape character is ':' because it is otherwise illegal on the  vfat  filesystem.
              The  escape  sequence  that  gets  used, where u is the unicode character, is: ':', (u & 0x3f), ((u>>6) &
              0x3f), (u>>12).

       posix  Allow two files with names that only differ in case.

       nonumtail
              First try to make a short name without sequence number, before trying name~num.ext.

       utf8   UTF8 is the filesystem safe 8-bit encoding of Unicode that is used by the console. It can be  be  enabled
              for the filesystem with this option.  If `uni_xlate' gets set, UTF8 gets disabled.

       shortname=[lower|win95|winnt|mixed]

              Defines the behaviour for creation and display of filenames which fit into 8.3 characters. If a long name
              for a file exists, it will always be preferred display. There are four modes:

              lower  Force the short name to lower case upon display; store a long name when the short name is not  all
                     upper case.

              win95  Force  the short name to upper case upon display; store a long name when the short name is not all
                     upper case.

              winnt  Display the shortname as is; store a long name when the short name is not all lower  case  or  all
                     upper case.

              mixed  Display the short name as is; store a long name when the short name is not all upper case.

       The default is "lower".
 
Old 07-26-2005, 08:42 AM   #4
Nathanael
Member
 
Registered: May 2004
Location: Karlsruhe, Germany
Distribution: debian, gentoo, os x (darwin), ubuntu
Posts: 940

Rep: Reputation: 32
Quote:
snippets of man mount concerning fat/vfat

suid Allow set-user-identifier or set-group-identifier bits to
take effect.

uid=value and gid=value
Set the owner and group of all files. (Default: the uid and gid
of the current process.)

umask=value
Set the umask (the bitmask of the permissions that are not
present). The default is the umask of the current process. The
value is given in octal.

dmask=value
Set the umask applied to directories only. The default is the
umask of the current process. The value is given in octal.

fmask=value
Set the umask applied to regular files only. The default is the
umask of the current process. The value is given in octal.
 
Old 07-26-2005, 09:44 AM   #5
alaios
Senior Member
 
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,185

Original Poster
Rep: Reputation: 45
Thx a lot
When i ll go home i ll test it
Have a nice day
 
  


Reply


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
cant access the auto-mounted ntfs.. MrFixit Ubuntu 1 10-25-2005 07:50 AM
Access on mounted device!? mindspin Fedora 1 12-18-2004 07:47 AM
Can't access mounted partition? ZaijiaN Linux - Newbie 7 02-20-2004 05:33 PM
write access to mounted drive woja Linux - Newbie 3 11-05-2003 03:24 AM
Access a vfat mounted partition vector Slackware 2 02-25-2003 10:54 PM


All times are GMT -5. The time now is 10: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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration