Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 371
  • Last Modified:

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

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.
0
DexterJones
Asked:
DexterJones
4 Solutions
 
pablouruguayCommented:
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

[myshare]
   comment = Mary's and Fred's stuff
   path = /usr/somewhere/shared
   valid users = mary fred
   public = no
   writable = yes
   printable = no
   create mask = 0765
0
 
DexterJonesAuthor Commented:
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 127.0.0.1 (127.0.0.1)
# Date: 2006/03/22 15:51:27

# Global parameters
[global]
      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

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

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

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

[profiles]
      path = /home/samba/profiles
      read only = No
      create mask = 0600
      directory mask = 0700
0
 
NopiusCommented:
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..
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
NopiusCommented:
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.
0
 
thenonymousCommented:
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.
0
 
bk_jreinsteinCommented:
chmod and chown so you are the owner and have permissions to read it, write to it and execute it (chmod 777).
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now