Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Unable to execute files from second hard drive
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
n7down
Tux's lil' helper
Tux's lil' helper


Joined: 24 May 2004
Posts: 122
Location: /home/n7down

PostPosted: Mon May 24, 2004 7:25 am    Post subject: Unable to execute files from second hard drive Reply with quote

Hey how do i get files to execute on my second hard drive???
Here my fstab for that hard drive.

Code:
/dev/hdb2      /mnt/cyndi   vfat      users,rw,umask=0   0 0


Am I missing something??? I pretty sure that the premissions are set correctly or do i have to set the umask to something else??
Back to top
View user's profile Send private message
peterton
Tux's lil' helper
Tux's lil' helper


Joined: 20 Aug 2003
Posts: 110

PostPosted: Mon May 24, 2004 7:31 am    Post subject: Reply with quote

make umask=022 or something
Back to top
View user's profile Send private message
n7down
Tux's lil' helper
Tux's lil' helper


Joined: 24 May 2004
Posts: 122
Location: /home/n7down

PostPosted: Mon May 24, 2004 7:41 am    Post subject: Reply with quote

nope didn't work. Thanks for the help though.
Back to top
View user's profile Send private message
dalek
Veteran
Veteran


Joined: 19 Sep 2003
Posts: 1353
Location: Mississippi USA

PostPosted: Mon May 24, 2004 7:52 am    Post subject: Reply with quote

I make my fstab look like this for my spare data partition:

Code:
/dev/hda11      /mnt/data      reiserfs   defaults,rw      0 0


I have executed files from there.

Hope that helps.

:D :D :D :D
_________________
My rig: Gigabyte GA-970A-UD3P mobo, AMD FX-8350 Eight-Core CPU, ZALMAN CNPS10X Performa CPU cooler,
G.SKILL 32GB DDR3 PC3 12800 Memory Nvidia GTX-650 video card LG W2253 Monitor
60TBs of hard drive space using LVM
Cooler Master HAF-932 Case
Back to top
View user's profile Send private message
n7down
Tux's lil' helper
Tux's lil' helper


Joined: 24 May 2004
Posts: 122
Location: /home/n7down

PostPosted: Mon May 24, 2004 8:02 am    Post subject: Reply with quote

this is a data partation that is shared between windows and linux uninfortunally :( :( .
Back to top
View user's profile Send private message
peterton
Tux's lil' helper
Tux's lil' helper


Joined: 20 Aug 2003
Posts: 110

PostPosted: Mon May 24, 2004 8:05 am    Post subject: Reply with quote

btw, it's not users but user
add an option exec (generic, not fat specific), that should do it
Back to top
View user's profile Send private message
rewt
n00b
n00b


Joined: 19 Feb 2004
Posts: 58

PostPosted: Mon May 24, 2004 8:11 am    Post subject: Reply with quote

Code:
man mount
is your friend :)

Code:
user
Allow an ordinary user to mount the file system. The name of the mounting user is written to mtab so that he can unmount the file system again. This option implies the options noexec, nosuid, and nodev (unless overridden by subsequent options, as in the option line user,exec,dev,suid)


Code:
users
is also fine. Depends what you wanted but in any case noexec is implied so you'll have to stick exec in your fstab
_________________
Because sometimes peace is another word for surrender... and secrets have a way of getting out
Back to top
View user's profile Send private message
n7down
Tux's lil' helper
Tux's lil' helper


Joined: 24 May 2004
Posts: 122
Location: /home/n7down

PostPosted: Mon May 24, 2004 8:17 am    Post subject: Reply with quote

hey it worked!!! Thanks for everyones help!!
Back to top
View user's profile Send private message
dalek
Veteran
Veteran


Joined: 19 Sep 2003
Posts: 1353
Location: Mississippi USA

PostPosted: Mon May 24, 2004 7:20 pm    Post subject: Reply with quote

That must be part of "defaults". I wonder what those "defaults" are??

Glad you got it working.

:D :D :D :D
_________________
My rig: Gigabyte GA-970A-UD3P mobo, AMD FX-8350 Eight-Core CPU, ZALMAN CNPS10X Performa CPU cooler,
G.SKILL 32GB DDR3 PC3 12800 Memory Nvidia GTX-650 video card LG W2253 Monitor
60TBs of hard drive space using LVM
Cooler Master HAF-932 Case
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum