Find the answer to your Linux question:
Page 1 of 4 1 2 3 4 LastLast
Results 1 to 10 of 36
Code: LABEL=/ / ext3 defaults 0 0 /dev/hda3 /files auto sync,rw,exec,user 0 0 /dev/hda2 /linspire auto sync,rw,exec,user 0 0 none /dev/pts devpts gid=5,mode=620 0 0 none /dev/shm tmpfs defaults 0 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Engineer
    Join Date
    Jan 2005
    Location
    Chicago (USA)
    Posts
    1,028

    fstab frustration


    Code:
    LABEL=/                 /                       ext3    defaults        0 0
    /dev/hda3               /files                  auto    sync,rw,exec,user    0 0
    /dev/hda2               /linspire               auto    sync,rw,exec,user    0 0
    none                    /dev/pts                devpts  gid=5,mode=620  0 0
    none                    /dev/shm                tmpfs   defaults        0 0
    none                    /proc                   proc    defaults        0 0
    none                    /sys                    sysfs   defaults        0 0
    /dev/sda1               /media/pendrive         vfat    sync,noauto,rw,exec,user  0 0
    /dev/hdd                /media/cdrom            auto     pamconsole,fscontext=system_u:object_r:removable_t,ro,exec,noauto,managed 0 0
    /dev/hdc                /media/cdrecorder       auto    pamconsole,fscontext=system_u:object_r:removable_t,ro,exec,noauto,managed 0 0
    /dev/fd0                /media/floppy           auto    pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0
    From a regular user, I can mount and read /dev/hda3, /dev/hda2, and /dev/sda1 but I can't write on them even though I put the options user and rw.

  2. #2
    Linux Engineer
    Join Date
    Nov 2004
    Location
    Montreal, Canada
    Posts
    1,267
    On what exact folder are you trying to write...?
    is hda3 a NTFS partition???

    Please give the output of this command
    Code:
    fdisk -l
    \"Meditative mind\'s is like a vast ocean... whatever strikes the surface, the bottom stays calm\" - Dalai Lama
    \"Competition ultimatly comes down to one thing... a loser and a winner.\" - Ugo Deschamps

  3. #3
    Linux Engineer
    Join Date
    Jan 2005
    Location
    Chicago (USA)
    Posts
    1,028
    Quote Originally Posted by UgoDeschamps
    On what exact folder are you trying to write...?
    is hda3 a NTFS partition???

    Please give the output of this command
    Code:
    fdisk -l
    Code:
    Disk /dev/hda: 80.0 GB, 80026361856 bytes
    255 heads, 63 sectors/track, 9729 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/hda1   *           1        1566    12578863+   7  HPFS/NTFS
    /dev/hda2            1573        2877    10482412+   c  W95 FAT32 (LBA)
    /dev/hda3            3005        3787     6289447+   c  W95 FAT32 (LBA)
    /dev/hda4            3788        9729    47729115    5  Extended
    /dev/hda5            3788        5745    15727603+  83  Linux
    
    Disk /dev/sda: 129 MB, 129499136 bytes
    33 heads, 32 sectors/track, 239 cylinders
    Units = cylinders of 1056 * 512 = 540672 bytes
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1               1         240      126448    6  FAT16
    Partition 1 has different physical/logical beginnings (non-Linux?):
         phys=(0, 0, 33) logical=(0, 1, 1)
    Partition 1 has different physical/logical endings:
         phys=(249, 32, 32) logical=(239, 16, 32)

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157
    Does it work after you change the permissions on the drive's mount point?
    Code:
    chmod 775 /media/pendrive
    ?

    dylunio
    Registered Linux User #371543!
    Get force-get May The Source Be With You
    /dev/null
    /dev/null2

  6. #5
    Linux Engineer
    Join Date
    Nov 2004
    Location
    Montreal, Canada
    Posts
    1,267
    ok, so your trying to write on hda2/3 and none give you rights?
    have you tryed to change rights on a specific folder?

    Code:
    chmod o+w /mnt/pendrive
    \"Meditative mind\'s is like a vast ocean... whatever strikes the surface, the bottom stays calm\" - Dalai Lama
    \"Competition ultimatly comes down to one thing... a loser and a winner.\" - Ugo Deschamps

  7. #6
    Linux Engineer
    Join Date
    Jan 2005
    Location
    Chicago (USA)
    Posts
    1,028
    That worked for the pendrive but not for the partitions (yes, I changed the path at the end).

  8. #7
    Linux Engineer
    Join Date
    Nov 2004
    Location
    Montreal, Canada
    Posts
    1,267
    Quote Originally Posted by a thing
    That worked for the pendrive but not for the partitions (yes, I changed the path at the end).
    When I look at your fstab, I see that the /linspire and /files are in the "/" I had a similar issue when attempting to get things with the correct rights...
    have you tryed to mount the "linspire & files" an the mnt folder? like this

    /mnt/linspire?

    Advise me if that works... we'll find another way
    \"Meditative mind\'s is like a vast ocean... whatever strikes the surface, the bottom stays calm\" - Dalai Lama
    \"Competition ultimatly comes down to one thing... a loser and a winner.\" - Ugo Deschamps

  9. #8
    Linux Engineer
    Join Date
    Jan 2005
    Location
    Chicago (USA)
    Posts
    1,028
    That doesn't work.

  10. #9
    Linux Engineer
    Join Date
    Nov 2004
    Location
    Montreal, Canada
    Posts
    1,267
    Quote Originally Posted by a thing
    That doesn't work.
    whats the error your getting
    \"Meditative mind\'s is like a vast ocean... whatever strikes the surface, the bottom stays calm\" - Dalai Lama
    \"Competition ultimatly comes down to one thing... a loser and a winner.\" - Ugo Deschamps

  11. #10
    Linux Engineer
    Join Date
    Jan 2005
    Location
    Chicago (USA)
    Posts
    1,028
    Quote Originally Posted by UgoDeschamps
    Quote Originally Posted by a thing
    That doesn't work.
    whats the error your getting
    Information - Konqueror

    Access denied.
    Could not write to /media/files/testing.

    [cancel]

Page 1 of 4 1 2 3 4 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
  •