Find the answer to your Linux question:
Results 1 to 8 of 8
Hi all, It's been a while since I've posted, been reading at the local bookstore on Suse 10.x I've come across a small inconvenience. I have attached a 40gb usb ...
  1. #1
    Just Joined! shaker25's Avatar
    Join Date
    Aug 2006
    Posts
    40

    USB HDD write permissions

    Hi all,

    It's been a while since I've posted, been reading at the local bookstore on Suse 10.x
    I've come across a small inconvenience.

    I have attached a 40gb usb HDD to suse and formated in Reiser.
    However logged in as my self i have read access only.
    the only way I can transfer files over is to end my session and log in as root.
    **** not a common practice I want to get used to.****
    I tried to add access permissions to the drive through the GUI however it doesn't keep my changes.

    I'm not 100% familiar with the konsole and I'm thinking the only way to do what I want is in this manner. (Fstab) i think it's called.
    please let me know if I'm on the right track at least or is there is an easy way an I'm just missing it.

    thanks

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    If you want to enable read/write access for Regular User, you have to give ownership of mount_point of USB to Regular user.
    Code:
    chown user_name:group_name <mount_point>
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined! shaker25's Avatar
    Join Date
    Aug 2006
    Posts
    40
    i'm still having problems with this?
    I can't find much on the web about how to do this?

    I don't entirely understand what the mount_point is, or how to find out what it is, and how to adjust the settings of it.

    Here' s the error I get. when I try to adjust the settings so my regular user account can write to my usb HDD
    ----------------------------------------------------
    linux-xz1v:/home/user # chown user:users <media/sdb1>
    bash: syntax error near unexpected token `n
    -------------------------------------------------------

    Any advice on what I'm doing wrong ?

  4. #4
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,105
    Don't put <> around the mount point in the command. That is just used to show what information you need to put at that location in the command. You are not meant to type the < or >.

    A mount point is just an empty directory to which you attach (mount) a file system device.

    You can create a directory anywhere and then mount a device to it.

  5. #5
    Just Joined! shaker25's Avatar
    Join Date
    Aug 2006
    Posts
    40
    ok so If I understand correctly.
    I can creat a directory (folder.)
    and use the line described to mount my usb HDD?
    chown user:users folder.

    and it will know that I want my usb HDD mounted from here?


    are there any other commands I need to add ?
    it just seems like I'm missing a step somewhere?

  6. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    You have to mount Partition(s) of USB drive in that folder. Log in as regular user, plug-in USB drive and execute this
    Code:
    su -
    fdisk -l
    exit
    id
    Post output here.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  7. #7
    Just Joined! shaker25's Avatar
    Join Date
    Aug 2006
    Posts
    40
    I understand the process of mounting the usb device from with in a folder.
    I creadted a folder called External devices. as my mount point.
    then as super user I tried to link media/disk to my folder.
    and it didn't work. it gave me soem wierd error.

    at anyrate, I logged into konquerer as SU went to my computer, right clicked on the drive and added my user to the permission's list.
    badda bing, badda boom, bob's your uncle.
    made a link to my desk top and I was in business.

    I'd like to learn the BASH side of linux.

  8. #8
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,105
    You might check out this link.

    start [LBo]

    The course was started a month or so back but they are only up to chapter 5, but there is really no limit to how fast or slow you want to go. The full book is on line.

Posting Permissions

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