Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Help changing file permissions

  1. #1
    Join Date
    Mar 2008
    Location
    Ohio
    Beans
    60
    Distro
    Kubuntu

    Help changing file permissions

    All my music and each containing folder is set only to have root permissions. When I try to change the permissions (yes I am using sudo) it will only change the permissions for one file at a time. I tried changing the folder permissions and clicked apply permissions to enclosed files.. but that isn't working.

    Please help
    Last edited by TaintedBllack; July 5th, 2008 at 06:50 AM.

  2. #2
    Join Date
    May 2005
    Location
    US
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Help changing file permissions

    Is this on your Ubuntu drive? Or is this on an external drive that's NTFS or FAT32?

  3. #3
    Join Date
    Sep 2006
    Beans
    2,914

    Re: Help changing file permissions

    use the command line dude, you are on linux
    Code:
    chmod -R u+x *.mp3 #for example
    look up the man page for more info

  4. #4
    Join Date
    Feb 2007
    Location
    Melbourne
    Beans
    799
    Distro
    Kubuntu 8.04 Hardy Heron

    Re: Help changing file permissions

    Quote Originally Posted by TaintedBllack View Post
    All my music and each containing folder is set only to have root permissions. When I try to change the permissions (yes I am using sudo) it will only change the permissions for one file at a time. I tried changing the folder permissions and clicked apply permissions to enclosed files.. but that isn't working.

    Please help
    Let's say your music is in a directory called "Music" on your desktop, and your user name is "tainted".

    Code:
    sudo chown -R  tainted  ~/Desktop/Music
    ...will make you the owner of those files.

  5. #5
    Join Date
    Mar 2006
    Location
    Denmark - Copenhagen
    Beans
    2,162

    Re: Help changing file permissions

    Or change them like this:
    Code:
    sudo chown -R USERNAME:USERNAME /Path/to/folder/
    Where you replace USERNAME with your username and /path/to/folder/ with the path to your folder.

  6. #6
    Join Date
    Sep 2006
    Beans
    2,914

    Re: Help changing file permissions

    Quote Originally Posted by ChameleonDave View Post
    Let's say your music is in a directory called "Music" on your desktop, and your user name is "tainted".

    Code:
    sudo chown -R  tainted  ~/Desktop/Music
    ...will make you the owner of those files.
    if i didn't see wrongly, OP indicates changing permissions, not owner.

  7. #7
    Join Date
    Mar 2006
    Location
    Denmark - Copenhagen
    Beans
    2,162

    Re: Help changing file permissions

    Ohh true.. sorry ignore my post then.

    Then this command would be better
    Code:
    sudo chmod 777 -R /path/to/folder/

  8. #8
    Join Date
    May 2005
    Location
    US
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Help changing file permissions

    All of this chmod and chown stuff will work only if it's on a Linux drive or partition.

    If it's external media (that's usually FAT16 or FAT32), those commands are all for naught.

    That's why I asked earlier what filesystem was used.

  9. #9
    Join Date
    Feb 2007
    Location
    Melbourne
    Beans
    799
    Distro
    Kubuntu 8.04 Hardy Heron

    Re: Help changing file permissions

    Quote Originally Posted by ghostdog74 View Post
    if i didn't see wrongly, OP indicates changing permissions, not owner.
    Yes, but you have to read people's words through the filter of n00bishness. He said "permissions" but probably meant ownership. Someone else had already indicated how to use chmod, so I indicated how to use chown.

  10. #10
    Join Date
    Sep 2006
    Beans
    2,914

    Re: Help changing file permissions

    Quote Originally Posted by aysiu View Post
    All of this chmod and chown stuff will work only if it's on a Linux drive or partition.

    If it's external media (that's usually FAT16 or FAT32), those commands are all for naught.

    That's why I asked earlier what filesystem was used.
    OP indicates he can change one file at a time, or did i misread something?

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

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