LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 04-11-2005, 09:58 PM   #1
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Rep: Reputation: 45
fstab question


i have my fstab setup to mount several win2k shares for my user to have access to them. today the windows box crashed, big supprise there (sarcasim), so i lost access to those drives. when i tried to smbmount -o username=username //IP/share /mount/point i got an error telling me i have to use mount, now i know for a fact that mount can only be used by root and i do not want to swap to root to gain access to my shares.

is there a way to reestablish connection between those auto mounted shares without rebooting?
 
Old 04-11-2005, 11:37 PM   #2
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Arctic
Distribution: Fedora, Debian, OpenSuSE and Android
Posts: 1,820

Rep: Reputation: 46
You don't necessarily have to be root to access your files, just to call mount. If the uid and gid options are set in fstab for the share, you should be able to access the files as the user.

If the line in fstab has something like
//server/share /mnt/wherever smbfs rw,gid=username, gid=users, etc.....

then simply su and type 'mount //server/share'

Last edited by Pcghost; 04-11-2005 at 11:39 PM.
 
Old 04-12-2005, 01:11 AM   #3
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Original Poster
Rep: Reputation: 45
kewl thanks.
 
  


Reply



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
A question regarding fstab trainee Slackware 6 05-22-2005 02:03 PM
fstab question cjstm Linux - Newbie 1 12-12-2004 02:46 PM
fstab question. buckwheat12 Fedora 6 03-05-2004 06:31 PM
fstab question rayne Linux - Newbie 2 10-04-2002 04:41 PM
i have an fstab question... isajera Linux - General 7 12-21-2001 02:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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