FC4 fileserver, can see folders but can't open them

Posted on 2006-03-22
Last Modified: 2013-12-06
i am trying to setup a fileserver using fedora core 4 that will be accesible to my windows machine (workgroup environment). So far on my windows machine i can see the folders that i have created/shared but for whatever reason i can't seem to open them.
Question by:DexterJones
    LVL 14

    Accepted Solution

    you need to give perms to folder and in /etc/samba/smb.conf add this line to a share element
    create mask = 0765
    for example

       comment = Mary's and Fred's stuff
       path = /usr/somewhere/shared
       valid users = mary fred
       public = no
       writable = yes
       printable = no
       create mask = 0765

    Author Comment

    i tried what you said but i still cant open the said folder, below is my smb.conf

    # Samba config file created using SWAT
    # from (
    # Date: 2006/03/22 15:51:27

    # Global parameters
          server string = Samba Server
          interfaces = eth0
          username map = /etc/samba/smbusers
          log file = /var/log/samba/%m.log
          max log size = 50
          socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
          printcap name = /etc/printcap
          domain logons = Yes
          os level = 65
          preferred master = Yes
          domain master = Yes
          dns proxy = No
          wins support = Yes
          ldap ssl = no
          idmap uid = 16777216-33554431
          idmap gid = 16777216-33554431
          cups options = raw

          comment = Home Directories
          path = /home
          read only = No
          create mask = 0664
          browseable = No

          comment = All Printers
          path = /var/spool/samba
          printable = Yes
          browseable = No

          path = /home/samba/netlogon
          guest ok = Yes

          path = /home/samba/profiles
          read only = No
          create mask = 0600
          directory mask = 0700
    LVL 27

    Expert Comment

    Do you listen pablouruguay? He has clearly said to setup create mask to 0765.
    you have create mask = 0664, 0600, even owner has no directory scan permission..
    LVL 27

    Assisted Solution

    Also that directories you have already created with such mask will be inaccessable until you manually setup +x flag.
    Only newly created will be affected. Samba also need to be restarted and all connections reconnected.
    LVL 1

    Assisted Solution

    Changing the create and directory masks is not necessary if the only intention of the user is to read the files already inside the directory. However, if you intend to make some directories writeable, those would be necessary.

    Also, make sure that the directories you want accessible are both readable and executable (chmod +rx) in the system itself. If a directory is readable, users will be able to generate a list of the files inside this directory. Executability, then, allows navigation inside the directory.
    LVL 7

    Assisted Solution

    chmod and chown so you are the owner and have permissions to read it, write to it and execute it (chmod 777).

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
    In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now