Author Topic: Root Owns Sda1  (Read 1279 times)

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Root Owns Sda1
« on: July 04, 2006, 11:45:59 am »
I think I've seen the solution somewhere already, but can't figure it out.

When I mount a USB stick, or a CF that is vfat formatted, it's owned by root, so I can't delete any files/directories as a zaurus user, only via su.

In fstab I have
Code: [Select]
/dev/sda1   /mnt/sda1   auto    noauto,owner      0    0I've also tried
Code: [Select]
/dev/sda1   /mnt/sda1   auto    noauto,user     0    0Doesn't seem to make a difference.

How can I mount it, so that the regular user can change content?
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

Da_Blitz

  • Hero Member
  • *****
  • Posts: 1579
    • View Profile
    • http://www.pocketnix.org
Root Owns Sda1
« Reply #1 on: July 05, 2006, 03:44:49 am »
Code: [Select]
/dev/sda1   /mnt/sda1   auto    noauto,uid=1000,gid=1000     0    0
or
/dev/sda1   /mnt/sda1   auto    noauto,umask=000     0    0
« Last Edit: July 05, 2006, 03:45:04 am by Da_Blitz »
Personal Blog
Code
Twitter

Gemini Order: #95 (roughly)
Current Device: Samsung Chromebook Gen 3
Current Arm Devices Count: ~30
Looking to acquire: Cavium Thunder X2 Hardware

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Root Owns Sda1
« Reply #2 on: July 05, 2006, 08:21:51 am »
Thanks.
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze