LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-12-2005, 10:40 AM   #1
kool_kid
Member
 
Registered: Sep 2004
Location: Dubai, UAE
Distribution: RHL
Posts: 350

Rep: Reputation: 30
Help Needeed In


Hiya allllllllll
actually i dunno what title shd i give for this kinda question lol anywayz am using slackware10.0 and my problem is tat the /c /d /e and /f (which are logical paritions ) can be opened with root account now i cant change the perimission...now is there anyway to change the perimssion or open this directory from non-root account Plz HelP
With Regards
Kool_kid
 
Old 03-12-2005, 11:17 AM   #2
ProtoformX
Member
 
Registered: Feb 2004
Location: Canada
Distribution: LFS SVN
Posts: 334

Rep: Reputation: 34
If you mean mounting the drives adn they can't be accesed under normal users, then change the fstab so it allows users to access the drives.
 
Old 03-12-2005, 11:55 AM   #3
kool_kid
Member
 
Registered: Sep 2004
Location: Dubai, UAE
Distribution: RHL
Posts: 350

Original Poster
Rep: Reputation: 30
change fstab????????? what changes shd i make in it n can u plz tell me where tat file is located
 
Old 03-13-2005, 07:59 AM   #4
suraka
LQ Newbie
 
Registered: Mar 2005
Location: Australia
Distribution: Slackware 10.1
Posts: 6

Rep: Reputation: 0
fstab is located in /etc/fstab

to allow non-root users to mount, add the "user,exec" flags at the end of the entry.
 
Old 03-15-2005, 08:07 AM   #5
kees-jan
Member
 
Registered: Sep 2004
Distribution: Debian, Ubuntu, BeatrIX, OpenWRT
Posts: 273

Rep: Reputation: 30
I would be glad to answer you question, if only I could read your post.

Seriously... Using abbreviations in the amount you do makes your post much harder to read for a lot of people. And you don't want to make it difficult for us to help you, do you ;-)

If you add "umask=0000" to the end of the entry, anyone will be able to read and write it.

You can also create a group (say "win") and add all users that need access to the group. You can then add gid=win,umask=002 to the end, and only users in that group have access.

check out the manpage for "mount" it has a lot of info :-)

Groetjes,

Kees-Jan
 
Old 03-15-2005, 03:04 PM   #6
kool_kid
Member
 
Registered: Sep 2004
Location: Dubai, UAE
Distribution: RHL
Posts: 350

Original Poster
Rep: Reputation: 30
Code:
 /dev/hda12       /                ext3        defaults         1    1
/dev/hda10       /home            ext3        defaults         1    2
/dev/hda1        /c               vfat        defaults         1    0
/dev/hda5        /d               vfat        defaults         1    0
/dev/hda6        /e               vfat        defaults         1    0 
/dev/hda7        /f               vfat        defaults         1    0 
/dev/hda8        /g               vfat        defaults         1    0
/dev/hda9        /h               vfat        defaults         1    0 
/dev/cdrom       /mnt/cdrom       iso9660     noauto,owner,ro  0    0 
/dev/fd0         /mnt/floppy      auto        noauto,owner     0    0 
devpts           /dev/pts         devpts      gid=5,mode=620   0    0 
proc             /proc            proc        defaults         0    0
this is my fstab file help me now to add what u people say cuz i have added umask=0000 it didnt work help help plz
 
Old 03-15-2005, 03:15 PM   #7
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,644

Rep: Reputation: 145Reputation: 145
Replace the "default" f. e. of /dev/hda5 (d) by
Code:
codepage=850,iocharset=iso8859-1,rw,users,umask=0
Works fine for me. Replace the codepage and iocharset if needed to match your locale setting or simply delete it. I need them to get european special characters handled right.
Keep in mind, that the above mentioned settings allow any user that is logged in to read and write on this partition, so you can easily delete something. You can restrict the access to users of a special group with the gid-parameter, that other posters already have written above in this thread.

titopoquito
 
  


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



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

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