LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 07-10-2005, 03:55 PM   #1
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699

Rep: Reputation: 131Reputation: 131
Access denied on mount in rc.local


I have the following line in rc.local:

mount /mnt/HellServer/fat-c
mount /mnt/HellServer/fat-d

and in fstab:

//10.0.0.12/c /mnt/HellServer/fat-c smbfs noauto,users,rw,guest 1 0
//10.0.0.12/d /mnt/HellServer/fat-d smbfs noauto,users,rw,guest 1 0

I can execute the mount commands exactly as shown above after I login, and it works, but I can't it to work from rc.local. I tried to put the appropriate lines in fstab with auto instead of noauto, but it gives a no network error. Maybe I'm going about this the wrong way? How can I map/mount these shares at boot, but before login?
 
Old 07-10-2005, 04:01 PM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
This link may interest you :
http://www.linuxquestions.org/questions/history/312122
 
Old 07-10-2005, 04:04 PM   #3
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Remove the noauto option and it should be mounted on boot. You also may want to put a 0 on the 5th line instead of a 1.
 
Old 07-10-2005, 04:09 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Remove the no in noauto and give the mount in
rc.local a miss mate ...


Cheers,
Tink
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS mount of smb mount of windows share: permission denied problem :( Bagatur Linux - Networking 4 07-07-2009 11:34 AM
SAMBA - VFAT local mount for all user write access... dolvmin Linux - Software 13 12-21-2006 03:50 PM
Browser access denied to local file tongar Linux - Newbie 0 01-31-2005 12:24 PM
CVS local repository - permission denied gandalf2041 Linux - Software 0 03-19-2004 02:19 PM
getting access denied , when trying to access camera as normal user bennythepitbull Linux - Hardware 2 11-04-2003 02:30 AM

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

All times are GMT -5. The time now is 03:40 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
Open Source Consulting | Domain Registration