windows can see shared directories, but cant access them
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
windows can see shared directories, but cant access them
Hello,
I have problem with FilePermissions in Linux FedoraCore5.
I used the GUI tool (system-config-samba tool) and check the access to
'Visible' and 'Writable'.(I followed the tutorials..)
now when I try to access the linux thru \\107..(ip of linux)\share
from windows' run command, I can see all the shared directories but when try to open, it does not open..
If there's anybody who know about this, your help is greatly appreciated.
Salamat sa reply! san ko po un makikita kuya?
taga philippines ka pala...haha!
kasi..diba sa windows XP right click mo lang un tapos sharing tab tapos allow others to change network files dba?
You may need to create the same user in Linux as you have in Windows with the same password. And then use the "smbpasswd" to add a samba user and password. Much depends on your smb.conf file. For example, are you using the default "security = user". Is this share public?
[2007/10/23 11:44:30,0] smbd /Service. C:make_connection_snum(663)
'/root/Desktop/WST-FileCabinet' does not exist or permission denied when connecting to [WST-FileCabinet] error was permission denied.
good news po ba 'to? medyo malabo at hindi ko pa gets..kahapon lang ako gumamit ng linux =(
>>You may need to create the same user in Linux as you have in Windows >>with the same password. And then use the "smbpasswd" to add a samba >>user and password. Much depends on your smb.conf file. For example, >>are you using the default "security = user". Is this share public?
thanks for replying..
yes, I am using the default "security = user". the share is not public..
The path line could be your problem, what is the permission for that directory and all its contents? (It could be on rare situations..)
Do you get access denied error in opening the files?
YES I DID get an access denied error in opening my files!
i don't know the permission for my Directory(the problem ^^) I just checked the 'Writable' and 'Visible' in the GUI tool...
(system-samba-config..)
kuya Thank you very much for your continous support! Hope you wont change!
You should not be sharing a directory in /root. Root is the administrator and no one else has the right to access it.
The problem is that this directory (WST-FileCabinet) is inside a directory you don't have permissions to enter (/root).
You can move the WST-FileCabinet directory elsewhere, such as maybe /home/WST-FileCabinet. For a public share, maybe /home/samba/WST-FileCabinet. Some people use /var/samba if the host is used predominately as a file server.
There is a Fedora Core RPM package called samba-doc, that supplies the book "Samba-3 by Example". It includes not only example smb.conf configurations but also shows you step by step how to create the directories being shared in the example including the directory permissions. For example, it this is a publicly read and writeable share, you will want to set the sticky bit.
may i suggest that you create an ordinary account for your daily work and not use the root account. using root is dangerous. use only root for administrative tasks in your system. good luck and welcome to linuxquestions.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.