Results 1 to 3 of 3

Thread: File / Folder Permissions

  1. #1
    Join Date
    Jun 2008
    Location
    Australia
    Posts
    16

    Default File / Folder Permissions

    Hey All

    This may be a really obvious question to everyone but i will ask anyway.
    I have a network drive from our old Windows server which is now part of our SLES server.
    To date i have created the specific shares i wanted in samba and set the following permissions on the share folders. (not in samba).
    chown -R root /folder name
    chgrp -R "domain users" /folder name
    chmod -R 2777 /folder name

    My question is: now i want to lock down permissions and access, how can i set different permissions on the existing folders to those on the files?
    For example, i want domain users to be able to browse the folders but not move or delete them. However they should be allowed to create, modify or delete files within those folders. I know how to apply the correct numeric permissions but how do you only apply them to either folders or files?

    With changing permissions the way i do it above, the changes take effect on the files and folders. Am i missing something really simple.

    Below is the samba conf on one of my shares. Should i be using the settings within samba such as umask etc to be acheiving the ongoing permission rules for folders? I haven't to date as i understood drive permissions override samba settings.

    [projects]
    comment = Projects
    path = /PlanetDataDrive/Projects
    read only = No
    inherit permissions = Yes
    inherit owner = Yes


    Sorry for the simple questions but a little insight will help me heaps.

  2. #2
    Join Date
    Jun 2008
    Location
    Australia
    Posts
    16

    Default Re: File / Folder Permissions

    Did i post in the wrong forum???

    I thought my question would be a rather common setup on file servers.

  3. #3
    Andrew C Taubman NNTP User

    Default Re: File / Folder Permissions

    On 24/07/08 stevenkelly wrote:
    > Did i post in the wrong forum???


    Yes - you have SLES and you've posted in OpenSuSE. Try the
    novell.support.sles.configure-administer forum.
    --
    Andrew C Taubman
    Novell Support Forums Volunteer SysOp
    http://forums.novell.com/
    (Sorry, support is not provided via e-mail)

    Opinions expressed above are not
    necessarily those of Novell Inc.

Posting Permissions

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