Results 1 to 5 of 5

Thread: can only access flashdrive as root user - help!

  1. #1
    Senior Member registered user
    Join Date
    Dec 2003
    Location
    Tennessee, USA
    Posts
    111

    can only access flashdrive as root user - help!

    How can I access my USB flashdrive as the knoppix user instead of root?

    Under knoppix 3.3, I create a directory with knoppix as owner & group, all permissions +rwx. But when I mount the usb drive, it changes the directory owner & group to root, and denies read/write access to knoppix.

    As root, when I try to change the owner back to knoppix, I get "operation not permitted". Chmod +rwx on the directory (as root) doesnt work.

    BTW here is the last line of /etc/fstab (not changed by me):
    /dev/sda1 /usb vfat noauto,users,exec,umask=000,uid=knoppix,gid=knoppi x 0 0

    Help!

  2. #2
    Junior Member registered user
    Join Date
    May 2004
    Location
    maryland
    Posts
    11
    I'm not sure what to do exactly, but it has to do with the word users. I think...It may also have to do with the umask....


    esher2292

  3. #3
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    929
    I think what you have should work but my line reads:

    /dev/sda1 /mnt/sda1 vfat noauto,users,exec,sync,umask=000 0 0

    (You can forget the sync entry for a simple flash drive.)

    Can you make sure (use kuser IYL) that knoppix is a member of the usb and disk groups?

  4. #4
    Senior Member registered user
    Join Date
    Dec 2003
    Location
    Salt Lake City, UT, U.S.A.
    Posts
    1,338
    Is it me, or am I just spacing out on this, correct me if I am wrong...

    Wouldn't "knoppix" also need to be in the group for "users" ? I think I had to add my user into that group, or at least ensure that it was included. ( I know it was some "group", either user, or users, or something like that? )

    Again, I may be way outta line on this one, just trying to help...
    Ms. Cuddles

  5. #5
    Senior Member registered user
    Join Date
    Dec 2003
    Location
    Tennessee, USA
    Posts
    111
    ok, I found the problem - I had modified the knoppix.sh to mount the usb drive automatically which screwed it up. When I took that out, it worked!

Similar Threads

  1. KDE Access and User Accounts
    By zscola1 in forum General Support
    Replies: 3
    Last Post: 10-10-2004, 10:54 AM
  2. only root-access to mounted drives
    By nightfrost in forum General Support
    Replies: 3
    Last Post: 08-14-2004, 08:07 PM
  3. Can't access floppy as regular user
    By Dan in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 02-18-2004, 09:14 PM
  4. hdb1 mount probs- works fine in root, carn't access in user
    By /Knoppix/Knewbie/ in forum General Support
    Replies: 2
    Last Post: 09-15-2003, 10:28 AM
  5. Unable to access windows partition as user 'knoppix'
    By area in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 06-30-2003, 07:21 AM

Posting Permissions

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


Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit picture

Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit

$105.99



Corsair CMK32GX4M2B3000C15 Vengeance LPX DDR4 3000mhz Memory Kit - 32GB (2x16GB) picture

Corsair CMK32GX4M2B3000C15 Vengeance LPX DDR4 3000mhz Memory Kit - 32GB (2x16GB)

$164.95



RAMAXEL Lenovo 32GB LPDDR5X CAMM2 7500MHz Laptop RAM | UNTESTED picture

RAMAXEL Lenovo 32GB LPDDR5X CAMM2 7500MHz Laptop RAM | UNTESTED

$445.00



Corsair Vengeance RGB Pro SL DDR4 16GB 3200MHz 288-Pin DIMM picture

Corsair Vengeance RGB Pro SL DDR4 16GB 3200MHz 288-Pin DIMM

$80.00



Samsung 96GB LPCAMM2 PC5 9600 FE1 E1 LPDDR5X CAMM2 M561K6LC3CL1-CCV DDR5 Memory picture

Samsung 96GB LPCAMM2 PC5 9600 FE1 E1 LPDDR5X CAMM2 M561K6LC3CL1-CCV DDR5 Memory

$2150.00



Corsair Vengeance DDR3 8GB 16GB 32GB 1866MHz PC3-14900 Desktop RAM Memory DIMM picture

Corsair Vengeance DDR3 8GB 16GB 32GB 1866MHz PC3-14900 Desktop RAM Memory DIMM

$85.00



SAMSUNG 64GB 2RX4 PC5-38400 DDR5-4800 SERVER MEMORY (M321R8GA0BB0-CQKZJ) picture

SAMSUNG 64GB 2RX4 PC5-38400 DDR5-4800 SERVER MEMORY (M321R8GA0BB0-CQKZJ)

$2249.00



G.Skill Ripjaws V Series 32GB 2x16GB DDR4 RAM 2400MHz F4-2400C15D-32GVR picture

G.Skill Ripjaws V Series 32GB 2x16GB DDR4 RAM 2400MHz F4-2400C15D-32GVR

$129.99



G.SKILL TridentZ RGB 16GB (2x8GB) DDR4-4266 DIMM Desktop RAM Kit picture

G.SKILL TridentZ RGB 16GB (2x8GB) DDR4-4266 DIMM Desktop RAM Kit

$90.00



Crucial 16GB (2x 8GB) Kit DDR3 1600MHz PC3-12800 UDIMM Desktop 240-Pin CL11 RAM picture

Crucial 16GB (2x 8GB) Kit DDR3 1600MHz PC3-12800 UDIMM Desktop 240-Pin CL11 RAM

$41.00