Results 1 to 4 of 4

Thread: Adding Files/Folders to a group

  1. #1
    Join Date
    Oct 2006
    Beans
    25
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Adding Files/Folders to a group

    I want to share some files that I have placed in my /home/username/Public folder with other users on the same computer. I can manually right click on the folders and files and select properties, choose the Permissions tab, and change it to the group I want and that works (other users in that group can now access the file/folder). But these are my music files and there are thousands of files all in many subfolders. Clicking on the "Apply Permissions to Enclosed Files" button does not work (does nothing). How can I change all of the files and subfolders of my Public folder to another Group without doing it manually? Thanks.

  2. #2
    Join Date
    Apr 2005
    Location
    Glasgow, Scotland
    Beans
    1,642

    Re: Adding Files/Folders to a group

    Code:
    chgrp -R GROUP FILE
    is what you want.
    A Fedora user

  3. #3
    Join Date
    Oct 2006
    Beans
    25
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Adding Files/Folders to a group

    Thanks, so do I just
    cd /home/username
    first and then use the command
    chgrp -R media Public
    ?
    Last edited by zero_koop; August 30th, 2008 at 12:31 AM.

  4. #4
    Join Date
    Oct 2006
    Beans
    25
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Adding Files/Folders to a group

    Ok, I think I've got it figured out. I did what I said I would do for some reason that worked for my music files, but not my pictures. My picture files/folders were grouped properly as the command did its job, but access wasn't allowed the files. This time the "Apply Permissions to Enclosed Files" button worked and successfully changed all the subfolders to a read/write/delete access.

Tags for this Thread

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
  •