Find the answer to your Linux question:
Results 1 to 5 of 5
Hi guys. I have some trouble with Debian. I have mounted my external USB hard drive, but since i did it as root all permissions are set to root as ...
  1. #1
    Just Joined!
    Join Date
    Oct 2009
    Posts
    35

    Exclamation Permissions problems....



    Hi guys. I have some trouble with Debian. I have mounted my external USB hard drive, but since i did it as root all permissions are set to root as well. So I tried to change permissions with

    chmod -R a+rwx /home/cherep/USB_disk/

    and what it does is just changes permissions to the folders but does nothing with files. How can I change permissions to all the files inside folders?

    Thanks for the help.

  2. #2
    Just Joined! minigeek's Avatar
    Join Date
    Sep 2005
    Location
    New Zealand
    Posts
    31

    Permissions

    Hi

    Change to the usb directory
    Code:
    cd /home/cherep/USB_disk/
    Once inside the usb directory run the following command
    Code:
    chmod -R a+rwx *

  3. #3
    Just Joined!
    Join Date
    Oct 2009
    Posts
    35
    When I do it i get a very long list of errors saying something like:

    "Changing permissions for the file *** Error! Unsupported operation"

    And so it ends. Yet again it changes permissions to folders but not to the files inside folders.

  4. #4
    Just Joined! minigeek's Avatar
    Join Date
    Sep 2005
    Location
    New Zealand
    Posts
    31
    Quote Originally Posted by saint_geser View Post
    When I do it i get a very long list of errors saying something like:

    "Changing permissions for the file *** Error! Unsupported operation"

    And so it ends. Yet again it changes permissions to folders but not to the files inside folders.

    Are you running the command as root?

  5. #5
    Just Joined!
    Join Date
    Oct 2009
    Posts
    35
    Thanks for the help guys. I think I found what was the problem - Debian doesn't support writing onto ntfs partitions out-of-box so when i tried to give everyone +rwx it didn't like it.

    I downloaded ntfs-3g and it worked fine with

    Code:
    mount -t ntfs-3g /dev/sdc1 /home/cherep/USB_disk -o defaults,umask=0
    I found that somewhere on the forum. Now it works just fine!

Posting Permissions

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