Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: acess is denied  (Read 4471 times)

0 Members and 1 Guest are viewing this topic.

smeezekitty

  • Guest
acess is denied
« on: September 04, 2009, 10:21:05 PM »
on linux:
when i am not on a root shell
if i type cd /mnt/hda3 i get Access is denied
i dont know why that is -- /dev/hda3 is mounted as /mnt/hda3 (70MB fat16 fs)
how do i remove the Acess is denied besides loggin in as root

Salmon Trout

  • Guest
Re: acess is denied
« Reply #1 on: September 05, 2009, 01:08:55 AM »
edit fstab

smeezekitty

  • Guest
Re: acess is denied
« Reply #2 on: September 05, 2009, 01:40:26 AM »
heres my fstab i have no idea what it is what it does or what to edit:
Code: [Select]
/dev/hda1  /  ext2  defaults,errors=remount-ro  0  1
proc  /proc  proc  defaults  0  0
/dev/fd0  /mnt/auto/floppy  vfat  defaults,user,noauto,showexec,umask=022  0  0
/dev/cdrom  /mnt/auto/cdrom  iso9660  defaults,ro,user,noexec,noauto  0  0
/mnt/hda3/knoppix.swp swap swap defaults 0 0
/dev/hda2 /mnt/hda2 ext2 noauto,users,exec 0 0
/dev/hda3 /mnt/hda3 vfat noauto,users,exec,umask=000,uid=1001,gid=50 0 0
/dev/hdb1 /mnt/hdb1 ext2 noauto,users,exec 0 0
/dev/nul /mnt/._ ext2 noauto,users,exec

Salmon Trout

  • Guest
Re: acess is denied
« Reply #3 on: September 05, 2009, 02:03:11 AM »
The fstab file is most commonly used by the mount command, which reads the fstab file to determine which options should be used when mounting the specified device.

Code: [Select]
# device name   mount point     fs-type      options                                        dump fsck
/dev/hda3       /mnt/hda3       vfat         noauto,users,exec,umask=000,uid=1001,gid=50    0    0

See here

http://www.tuxfiles.org/linuxhelp/fstab.html

Read through the excellent explanation and you should see what you need to do.

Make a copy of the fstab file first

Why don't you change noauto to auto in the options? Then it should mount at startup.


smeezekitty

  • Guest
Re: acess is denied
« Reply #4 on: September 05, 2009, 11:19:57 AM »
the reason its set at noauto is because the OS set it that way
what my problem is because i didnt make it clear the first time is
Code: [Select]
root@box#mount /dev/hda3
root@box#cd /mnt/
root@box#exit
dsl@box$cd hda3
Access is denied <---- whats up with this
dsl@box$