Results 1 to 3 of 3

Thread: permissions on saving to usb disc

  1. #1
    Join Date
    Jun 2008
    Location
    Moses Lake, WA. USA
    Posts
    474

    Default permissions on saving to usb disc

    I have been trying to save my data to a 120GB usb disk. I've used k3b,
    konqueror copy to and resync. all the files are owned by username:users.
    After the copies are complete the group has bee changed to username:root.
    When I restore the file(files) I have to go in an change all the groups
    back to users. why is it changing the permissions? Is there a way around
    this?

    openSUSE11.0, kde3.5.9, k3b 1.0.5

    Thanks for any help or pointers.
    --
    Russ
    Linux register user 441463
    openSUSE11.0

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,524
    Blog Entries
    15

    Default Re: permissions on saving to usb disc

    Quote Originally Posted by russbucket
    I have been trying to save my data to a 120GB usb
    disk. I've used k3b, konqueror copy to and resync. all the files are
    owned by username:users. After the copies are complete the group has
    bee changed to username:root. When I restore the file(files) I have to
    go in an change all the groups back to users. why is it changing the
    permissions? Is there a way around this?

    openSUSE11.0, kde3.5.9, k3b 1.0.5

    Thanks for any help or pointers.
    Hi
    If you create a directory owned by the user rather that use the root
    directory of the usb device you won't have the problem eg

    Code:
    sudo /bin/mkdir /media/usbdisk/myusername
    sudo /bin/chown myusername:users /media/usbdisk/myusername
    chmod 755 /media/usbdisk/myusername
    Note usbdisk and myusername are examples.

    --
    Cheers Malcolm (Linux Counter #276890)
    openSUSE 11.0 x86 Kernel 2.6.25.16-0.1-default
    up 3 days 1:10, 1 user, load average: 0.39, 0.13, 0.11
    GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12


  3. #3
    Join Date
    Jun 2008
    Location
    Moses Lake, WA. USA
    Posts
    474

    Default Re: permissions on saving to usb disc

    Malcolm wrote:

    >
    Quote Originally Posted by russbucket
    I have been trying to save my data to a 120GB usb
    > disk. I've used k3b, konqueror copy to and resync. all the files are
    > owned by username:users. After the copies are complete the group has
    > bee changed to username:root. When I restore the file(files) I have to
    > go in an change all the groups back to users. why is it changing the
    > permissions? Is there a way around this?
    >
    > openSUSE11.0, kde3.5.9, k3b 1.0.5
    >
    > Thanks for any help or pointers.
    >
    > Hi
    > If you create a directory owned by the user rather that use the root
    > directory of the usb device you won't have the problem eg
    >
    >
    Code:
    > sudo /bin/mkdir /media/usbdisk/myusername
    > sudo /bin/chown myusername:users /media/usbdisk/myusername
    > chmod 755 /media/usbdisk/myusername
    >
    >
    > Note usbdisk and myusername are examples.
    >

    Thanks Malcolm. I finally got around to trying this today. It did not work
    with the sudo (keep giving error on the mkdir step) but I was able to
    accomplish it by logging on as root. The rsync still had some permission
    problems but I got those straightened out. the last restore I did
    apparently used username:root and some of the . directories were 755
    instead of 700 and vice versa. I compared them to my 10.3 install and
    changed them accordingly. So far no problems.

    Again thanks for your help.
    --
    Russ
    Linux register user 441463
    openSUSE11.0

Posting Permissions

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