Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
my system is kubuntu 7.04 i installed automatix to save some headaches, and then installed the ntfs write support. till then, my windows partition was mounted as /windows. well after ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2007
    Posts
    26

    mount points, permissions


    my system is kubuntu 7.04

    i installed automatix to save some headaches, and then installed the ntfs write support.

    till then, my windows partition was mounted as /windows.
    well after installing the ntfs support, clicking the /windows folder resulted in opening empty directory.

    so after tinkering with the kde mount point manager and gparted, i managed to make the windows partition (/dev/sda1) mount as /windows.

    although, the problem remains, as me, the normal user (anze) don't have the right to acces the folder.

    now i got kinda confused because i don't know what does all that group/user etc thing mean. all i know is that there's me, as a regular user (anze) and a group with the same name, and i'm not sure what that means, so some explanation would be helpful.

    thanks

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Post the contents of /etc/fstab file here.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Aug 2007
    Posts
    26
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc defaults 0 0
    # /dev/sda3
    UUID=3bb9ad03-61b8-4729-9f68-9b998104eb2d / ext3 nouser,defaults,errors=remount-ro,atime,auto,rw,dev,exec,suid 0 1
    # /dev/sda1
    # /dev/sda2
    UUID=aa69249e-35a8-4754-9e5d-51c6033fa1e0 none swap sw 0 0
    /dev/hda /media/cdrom0 udf,iso9660 user,atime,noauto,rw,dev,exec,suid 0 0
    /dev/hdb /media/cdrom1 udf,iso9660 user,atime,noauto,rw,dev,exec,suid 0 0
    /dev/fd0 /media/floppy0 auto user,atime,noauto,rw,dev,exec,suid 0 0

    # Generated by Automatix
    /dev/sda1 /media/sda1 ntfs-3g defaults,locale=en_US.utf8 0 0
    ## End of Automatix mounted partitions
    /dev/sda1 /windows ntfs uid=0,gid=0,auto,rw,nouser 0 0

  4. $spacer_open
    $spacer_close
  5. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    # Generated by Automatix
    /dev/sda1 /media/sda1 ntfs-3g defaults,locale=en_US.utf8 0 0
    ## End of Automatix mounted partitions
    /dev/sda1 /windows ntfs uid=0,gid=0,auto,rw,nouser 0 0
    Why did you add two entries for /dev/sda1?
    Which Partition is Data Partition? Post the output of 'sudo fdisk -l' command too.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #5
    Just Joined! Eswara Moorthy's Avatar
    Join Date
    Sep 2007
    Location
    India
    Posts
    1

    Contents of fstab

    Quote Originally Posted by devils_casper View Post
    Post the contents of /etc/fstab file here.

    LABEL=/ / ext3 defaults 1 1
    LABEL=/boot /boot ext3 defaults 1 2
    devpts /dev/pts devpts gid=5,mode=620 0 0
    tmpfs /dev/shm tmpfs defaults 0 0
    proc /proc proc defaults 0 0
    LABEL=/project /project ext3 defaults 1 2
    sysfs /sys sysfs defaults 0 0
    LABEL=SWAP-sda5 swap swap defaults 0 0
    LABEL=/ / ext3 defaults 1 1
    LABEL=/boot /boot ext3 defaults 1 2
    devpts /dev/pts devpts gid=5,mode=620 0 0
    tmpfs /dev/shm tmpfs defaults 0 0
    proc /proc proc defaults 0 0
    LABEL=/project /project ext3 defaults 1 2
    sysfs /sys sysfs defaults 0 0
    LABEL=SWAP-sda5 swap swap defaults 0 0

    LABEL=/ / ext3 defaults 1 1
    LABEL=/boot /boot ext3 defaults 1 2
    devpts /dev/pts devpts gid=5,mode=620 0 0
    tmpfs /dev/shm tmpfs defaults 0 0
    proc /proc proc defaults 0 0
    LABEL=/project /project ext3 defaults 1 2
    sysfs /sys sysfs defaults 0 0
    LABEL=SWAP-sda5 swap swap defaults 0 0

  7. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Hi Eswara Moorthy !

    Welcome to the LinuxForums.

    You have posted contents of /etc/fstab file but havn't explained your problem.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  8. #7
    Just Joined!
    Join Date
    Aug 2007
    Posts
    26
    ok, i had no time to reply earlier so here's my fstab -l output:

    root@xubuntu:/home/anze# fdisk -l

    Disk /dev/sda: 320.0 GB, 320072933376 bytes
    255 heads, 63 sectors/track, 38913 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 15298 122881153+ 7 HPFS/NTFS
    /dev/sda2 38671 38913 1951897+ 82 Linux swap / Solaris
    /dev/sda3 15299 38670 187735590 83 Linux

    Partition table entries are not in disk order
    root@xubuntu:/home/anze#

    @ devil's casper - please note that i know next to nothing about those things and basically all i did was some tinkering around with gparted and the kde partition management utility.

    sda1 is the windows ntfs partition
    sda2 is swap partition
    sda3 is ext3 / partition

    any idea?

  9. #8
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Execute this
    Code:
    kdesu kate /etc/fstab
    Above command will open /etc/fstab file with root privileges in kate text editor.

    Delete these lines:
    Code:
    # Generated by Automatix
    /dev/sda1   /media/sda1   ntfs-3g  defaults,locale=en_US.utf8    0    0
    ## End of Automatix mounted partitions
    Edit last line
    Code:
    /dev/sda1 /windows  ntfs-3g  defaults,umask=0  0  0
    Save file and reboot. All users will have read/access in /windows folder.
    Last edited by devils casper; 09-15-2007 at 10:23 AM.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  10. #9
    Just Joined!
    Join Date
    Aug 2007
    Posts
    26
    but will all users also be able to write to ntfs?

  11. #10
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Yes. All users will have read/write access in NTFS Partition ( /windows folder ).
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Page 1 of 2 1 2 LastLast

Posting Permissions

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