Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 07-26-2004, 08:14 PM   #1
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 09:46 PM.
Old 07-26-2004, 08:17 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

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

Old 07-26-2004, 08:20 PM   #3
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, 09:45 PM   #4
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


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 04:50 AM
home folder not opening d1l2w3 Mandriva 6 04-07-2005 04:21 PM
Error opening type hash map aliases.db : permission denied Tazzmanian Linux - Software 2 08-24-2004 11:56 AM
permission denied if I want to create new folder dodo1983 Linux - Newbie 2 08-14-2004 10:46 PM
permission denied when opening directory pilot1 Linux - General 1 10-23-2002 08:27 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:56 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration