Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, How do I set permissions on a sub-folder? For example, I have the following folder: /home/office1/folder1 /home/office1/folder2 /home/office1/folder3 /home/office1/folder4 folder1 (group 1 users) folder2 (group 2 users) folder3 (group ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    luv
    luv is offline
    Just Joined!
    Join Date
    Aug 2004
    Posts
    55

    samba sub directory permission


    Hi,

    How do I set permissions on a sub-folder?

    For example, I have the following folder:

    /home/office1/folder1
    /home/office1/folder2
    /home/office1/folder3
    /home/office1/folder4

    folder1 (group 1 users)
    folder2 (group 2 users)
    folder3 (group 4 users)
    folder4 (1 user who does not belong to a group)

    All logged in users have access to /home/office1/

    Thank you very much.

    PS:
    I have been to this forum already -- http://www.linuxforums.org/forum/lin...ctories-2.html

  2. #2
    Just Joined!
    Join Date
    May 2009
    Posts
    6

    subfolder rights

    chmod -R 444 foldername

    -R change files and directories recursively

  3. #3
    luv
    luv is offline
    Just Joined!
    Join Date
    Aug 2004
    Posts
    55
    I pressume that's for /home/office1/ directory.

    What I did on folder* is CHMOD -R 770.

    By the way, the chmod, chown, chgrp commands, will it "inherit permissions" on the files/folders that are created after the commands are executed? For example, I issued those commands, then I create files/folders.

    Thanks you.

    Quote Originally Posted by balaa View Post
    chmod -R 444 foldername

    -R change files and directories recursively

Posting Permissions

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