LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Permission denied opening a folder (https://www.linuxquestions.org/questions/linux-newbie-8/permission-denied-opening-a-folder-210010/)

phoenixofwater 07-26-2004 08:14 PM

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.

Tinkster 07-26-2004 08:17 PM

Use the search, young Jedi!


Cheers,
Tink

jeffChuck 07-26-2004 08:20 PM

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").

phoenixofwater 07-26-2004 09:45 PM

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


All times are GMT -5. The time now is 01:42 AM.