Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: permission denied, wtf?

  1. #1
    Mentor
    Join Date
    May 2001
    Location
    New Jersey
    Posts
    1,473

    permission denied, wtf?

    i just got done with a fresh install of slack 8, i'm dual booting win2k and slack, anyway i resolved my problems with mounting win2k i can do that just fine now with both root and user, now on the the realy big problem.

    I installed codewaevers wine and ran it, it says you need to be a user and not root , so fine, i sign as a user mount the ntfs partition and crank up konqueror to get to my win2k directory and that where this story comes to a skreeching halt.
    error: Unable to enter file:/win2k
    you do not have access
    rights to this location.

    my fstab looks like this:
    /dev/hda1 /win2k ntfs user,ro 1 0

    should there be more? am i missing something?
    it's mounted i just cant access it?????

    Can you set perimissions on a directory using "chmod" or is that just for files?
    i did chmod 711 /win2k. chmod 777 /win2k.

    i dont know what else to do.

  2. #2
    Guest

    Re: permission denied, wtf?

    here's what an entry of mine for Windows looks like:
    /dev/hdb5 * * * /mnt/win * * * * * * * *vfat defaults,rw,user,noauto,umask=000 * * * 0 * * *

  3. #3
    Mentor
    Join Date
    May 2001
    Location
    New Jersey
    Posts
    1,473

    Re: permission denied, wtf?

    i changed it and i get the same thing :-/

    just another hurdle in getting linux working

  4. #4
    Moderator
    Good Guru
    Compunuts's Avatar
    Join Date
    May 2001
    Location
    California
    Posts
    3,935

    Re: permission denied, wtf?


    my fstab looks like this:
    /dev/hda1 */win2k * ntfs * *user,ro * 1 0
    Take this 1 and 0 out and see what happens ....

  5. #5
    Mentor
    Join Date
    May 2001
    Location
    New Jersey
    Posts
    1,473

    Re: permission denied, wtf?

    ok, i 'll try that.

    i thought the 1 and 0 was for the fsck order or when it gets fsck'ed, i'll try anything at this point.


    <edit>
    That didnt work either
    </edit>


  6. #6

    Re: permission denied, wtf?

    That last number determines the fsck priority on bootup. File systems with 0 aren't fscked at all, file systems with 1 are fscked first (recommended for the root fs), and file systems with 2 are fscked simultaneously afterwards. Since Linux doesn't need to be fscking with Windows, you need to make it a 0 or leave it off.

    The man page says the second to last is for the dump command, but that may be FreeBSD only. It seems like it's something else in Linux.

    As for the permissions, you probably only have read-only NTFS support built into your kernel. If you changed your line to look like GnuVince's, changing the first three columns, everyone should have as much access as the kernel allows.

  7. #7
    Mentor
    Join Date
    May 2001
    Location
    New Jersey
    Posts
    1,473

    Re: permission denied, wtf?

    i created the /win2k directory with root sign on should delete it and try to create it with the user sign on?

    Just things i'm think out loud.

    i'll also try "chmod 755 /win2k"

  8. #8

    Re: permission denied, wtf?

    You can't make it as a regular user. Only root can create directories under /. I would try that chmod though. Make sure you have it unmounted when you do. I doubt that will help though.

  9. #9

    Re: permission denied, wtf?

    chmod -v 777 /win2k
    cd /home/boblucci
    ln -sf /win2k /home/boblucci/windowz
    chmod -v 777 windowz
    exit
    ls -l windowz
    cd windowz
    I dunno?

  10. #10

    Re: permission denied, wtf?

    you can do uid=XXX so like:

    /dev/hd?? /win2k ntfs uid=500,user,ro 0 0

    that makes uid 500 own everything in /win2k.

    get your uid but running id

Similar Threads

  1. /var/spool/squid: (13) Permission denied
    By c4rdinal in forum Redhat / Fedora
    Replies: 1
    Last Post: 01-08-2007, 12:11 PM
  2. Access denied
    By daypack in forum Windows - General Topics
    Replies: 1
    Last Post: 10-27-2006, 09:04 PM
  3. chown <ldap user> <dir>, permission denied
    By djekels in forum Linux - General Topics
    Replies: 1
    Last Post: 03-15-2006, 11:30 PM
  4. NFS & NIS: permission denied
    By dgermann in forum Linux - Hardware, Networking & Security
    Replies: 3
    Last Post: 02-28-2006, 03:48 AM
  5. permission denied
    By rwtoften in forum Linux - General Topics
    Replies: 4
    Last Post: 06-10-2002, 02:57 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •