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
  •  


Intel Core i7-13700KF - 13th Gen Raptor Lake 16-Core (8P+8E) Desktop CPU Proc... picture

Intel Core i7-13700KF - 13th Gen Raptor Lake 16-Core (8P+8E) Desktop CPU Proc...

$269.99



Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc... picture

Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc...

$214.99



AMD Ryzen 9 7900X3D Gaming Processor - 12 Core And 24 Threads picture

AMD Ryzen 9 7900X3D Gaming Processor - 12 Core And 24 Threads

$309.99



Intel Core i7-8700 3.20GHz 6-Core SR3QS Processor picture

Intel Core i7-8700 3.20GHz 6-Core SR3QS Processor

$90.00



Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc... picture

Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc...

$309.99



Intel Core i5-8400T SR3X6 1.70GHz 6 Core 6 Threads LGA1151 CPU Processor TESTED picture

Intel Core i5-8400T SR3X6 1.70GHz 6 Core 6 Threads LGA1151 CPU Processor TESTED

$39.99



INTEL CORE I5-9600K 3.7GHZ SOCKET LGA1151 6-CORE DESKTOP CPU PROCESSOR SRELU picture

INTEL CORE I5-9600K 3.7GHZ SOCKET LGA1151 6-CORE DESKTOP CPU PROCESSOR SRELU

$55.00



AMD Ryzen 5 7600x Processor (5.3 GHz, 6 Cores, LGA 1718/Socket AM5) NEW OEM Tray picture

AMD Ryzen 5 7600x Processor (5.3 GHz, 6 Cores, LGA 1718/Socket AM5) NEW OEM Tray

$169.98



Intel Core i7-13700K - Core i7 13th Gen Raptor Lake 16-Core (8P+8E) P-core Base picture

Intel Core i7-13700K - Core i7 13th Gen Raptor Lake 16-Core (8P+8E) P-core Base

$219.90



Intel Core i9-11900K Processor (5.3 GHz, 8 Cores, Socket FCLGA1200) Box  -... picture

Intel Core i9-11900K Processor (5.3 GHz, 8 Cores, Socket FCLGA1200) Box -...

$200.00