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
  •  


QNAP TR-004 4-Bay USB RAID Enclosure w/16TB disk (4x4TB WD Red NAS Drives) - DAS picture

QNAP TR-004 4-Bay USB RAID Enclosure w/16TB disk (4x4TB WD Red NAS Drives) - DAS

$400.00



Dell PowerVault MD3000i AMP01 Storage Array 2x PSUs No HDDs/Controllers/Caddies picture

Dell PowerVault MD3000i AMP01 Storage Array 2x PSUs No HDDs/Controllers/Caddies

$144.95



HighPoint RocketStor 6114V 4-Bay USB-C SATA RAID STORAGE ENCLOSURE picture

HighPoint RocketStor 6114V 4-Bay USB-C SATA RAID STORAGE ENCLOSURE

$140.00



HP controller P3410-69003 NetRAID-1M SCSI 64-bit U160 32MB Cache (PCI) picture

HP controller P3410-69003 NetRAID-1M SCSI 64-bit U160 32MB Cache (PCI)

$359.00



Broadcom LSI 9305-16i 12Gbps SAS-3 PCIe x8 HBA 16-Ports Raid Controller picture

Broadcom LSI 9305-16i 12Gbps SAS-3 PCIe x8 HBA 16-Ports Raid Controller

$64.99



OWC Mercury Elite Pro Quad 4 Bay RAID Storage Enclosure USB 3.1 Gen 2 No Drives picture

OWC Mercury Elite Pro Quad 4 Bay RAID Storage Enclosure USB 3.1 Gen 2 No Drives

$149.95



Inspur LSI YZCA-00424-101 12Gbps SAS 3.0 RAID Controller CARD HBA  HDD picture

Inspur LSI YZCA-00424-101 12Gbps SAS 3.0 RAID Controller CARD HBA HDD

$14.99



LSI 9305-16i SATA SAS 12Gbs Controller card PCIe 3.0 IT-Mode w/SAS SATA cable US picture

LSI 9305-16i SATA SAS 12Gbs Controller card PCIe 3.0 IT-Mode w/SAS SATA cable US

$119.98



LSI 9207-8i 6Gbs SAS 2308 PCI-E 3.0 HBA IT Mode For ZFS FreeNAS unRAID picture

LSI 9207-8i 6Gbs SAS 2308 PCI-E 3.0 HBA IT Mode For ZFS FreeNAS unRAID

$24.99



9300-8i LSI SAS3008 8-Port 12Gb PCIe IT mode ZFS FreeNAS unRAID 2*SFF-8643 US picture

9300-8i LSI SAS3008 8-Port 12Gb PCIe IT mode ZFS FreeNAS unRAID 2*SFF-8643 US

$49.50