LinuxQuestions.org
Review your favorite Linux distribution.
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-26-2004, 09:14 PM   #1
phoenixofwater
LQ Newbie
 
Registered: Aug 2003
Distribution: Debian
Posts: 27

Rep: Reputation: 15
Permission denied opening a folder (Fixed)


Hello, I am trying to set up a file server using Samba with a harddrive formatted in FAT32 which is hdb1. I set up in the fstab to have it automatically mount to /mnt/120Drive using this command:
/dev/hdb1 /mnt/120Drive vfat defaults 0 0

after rebooting the drive mounts perfectly but I do not have any permission to open it under any user or through the network. Is there something I can do to fix this? I have been doing searches trying to understand the whole permissions of Linux but I seem to be going no where. Any help is much appreciated.

Last edited by phoenixofwater; 07-26-2004 at 10:46 PM.
 
Old 07-26-2004, 09:17 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,005
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Use the search, young Jedi!


Cheers,
Tink
 
Old 07-26-2004, 09:20 PM   #3
jeffChuck
Member
 
Registered: Feb 2004
Posts: 89

Rep: Reputation: 15
I am having a similar problem with my Windows partition. I can only read from it as root.

One thing you can try (which didn't work for me) is to unmount the drive ("umount /dev/hdb1") and change the permissions of /mnt/120drive and /dev/hdb ("chmod 777 /mnt/120drive" would give read write and execute permissions to every user). You can then remount the partition("mount /dev/hdb1 /mnt/120drive").
 
Old 07-26-2004, 10:45 PM   #4
phoenixofwater
LQ Newbie
 
Registered: Aug 2003
Distribution: Debian
Posts: 27

Original Poster
Rep: Reputation: 15
got it working by edit my fstab to read
/dev/hdb1 /mnt/120Drive vfat auto,rw,umask=000 1 0
 
  


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
can't execute c++ binaries, "permission denied"... even though permission is 777 SerfurJ Programming 14 02-20-2009 05:50 AM
home folder not opening d1l2w3 Mandriva 6 04-07-2005 05:21 PM
Error opening type hash map aliases.db : permission denied Tazzmanian Linux - Software 2 08-24-2004 12:56 PM
permission denied if I want to create new folder dodo1983 Linux - Newbie 2 08-14-2004 11:46 PM
permission denied when opening directory pilot1 Linux - General 1 10-23-2002 09:27 PM


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