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
  •  


Dell PowerEdge R640 1U 8SFF Server Barebones 2x Gold 5120 64GB H330 2x 750w picture

Dell PowerEdge R640 1U 8SFF Server Barebones 2x Gold 5120 64GB H330 2x 750w

$538.88



MICROSOFT WINDOWS SERVER 2025 RDS 50 CAL NEW Factory Sealed picture

MICROSOFT WINDOWS SERVER 2025 RDS 50 CAL NEW Factory Sealed

$136.87



USB 2.0 Network Print Server LAN Print Share Server USB Wireless Print Server picture

USB 2.0 Network Print Server LAN Print Share Server USB Wireless Print Server

$25.19



Windows Server 2025 datacenter 64bit 24 Core 50 cal DVD + PRODUCT LICENSE KEY picture

Windows Server 2025 datacenter 64bit 24 Core 50 cal DVD + PRODUCT LICENSE KEY

$44.54



Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p picture

Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p

$499.88



Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W

$484.99



Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO picture

Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO

$308.00



Dell PowerEdge R640 1U 8SFF Server Barebones 2x Gold 6150 64GB 2x 750w picture

Dell PowerEdge R640 1U 8SFF Server Barebones 2x Gold 6150 64GB 2x 750w

$218.88



Windows Server 2025 Standard Edition - 24 Core License picture

Windows Server 2025 Standard Edition - 24 Core License

$238.00



Dell Intel X710-DA2 5N7Y5 Dual-Port 10GbE SFP+ PCIe 3.0 x8 Network Adapter picture

Dell Intel X710-DA2 5N7Y5 Dual-Port 10GbE SFP+ PCIe 3.0 x8 Network Adapter

$27.50