LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Samba Folders. (https://www.linuxquestions.org/questions/fedora-35/samba-folders-550460/)

Ordinary12 05-01-2007 04:49 PM

Samba Folders.
 
I've been trying to understand Samba for the past couple of days with no luck and I was hoping that someone on here would be able to help me. I'm reading a book called "Fedora 6 and Red Hat Enterprise Linux Bible" and it gives generalities on this were I need specifics. I've created two folders in Samba, one in my home directory and one on my desktop. I was unable to put anything in either of the folders. The "No Write" symbol appeared on both of them. Is this normal? Does Samba make folders you don't have any rights to? I added myself as a user and checked the box that allows everyone access to the folder. I also checked the read and write boxes in Samba. What am I doing wrong and could someone also tell me the command to delete the folder on my desktop? The name of the folder is "Shared Folder". I'm a complete moron on Fedora so please go through the steps with me.

300 gold to the man with right answers!

cyborg_jt 05-01-2007 08:27 PM

/etc/samba/smb.conf
 
I use ubuntu so the configuration file could be different. If you are using gnome you should be able to share folders using samba through the gui.
Or you can edit the above file yourself.

If it the folder shows up on your windows machine must be some sort of permision error.
On your linux machine do
Code:

chmod 777 sharedfolder
this makes the folder read/write to everyone

Samba could also be blocking rw (read/write) so under your share module (in your smb.conf file and after the "[sharename]" part you need to add some other things

eg

Code:

[mysharedfiles]
comment = hello
path = /home/me/downloads/
writable = yes
browsable = yes
read only = no


So maybe you just need to add writeable = yes or something similar. Also if you are using "user mode" (prob not on by default) you need a "write list = user1, user2"

Hope this helps

combatwombat 05-01-2007 08:33 PM

Hi,
it sounds like you are up against permissioning problem at a local level first.
make sure that you do change the permissions of the new folders to belong to you.
eg: sudo chown username:usergroup /fullpath/to/foldername
eg2: sudo chown bob /home/bob/sambashare
To delete the folder on the desktop will be:
sudo rm "/home/bob/Desktop/Shared Folder" -rf

If you are a Samba user, from doing: smbpasswd -a bob ,then you should have access to anything that bob is the owner of.

mageshbabu.m 05-01-2007 10:43 PM

Detailed Samba Configuration
 
Quote:

Originally Posted by Ordinary12
I've been trying to understand Samba for the past couple of days with no luck and I was hoping that someone on here would be able to help me. I'm reading a book called "Fedora 6 and Red Hat Enterprise Linux Bible" and it gives generalities on this were I need specifics. I've created two folders in Samba, one in my home directory and one on my desktop. I was unable to put anything in either of the folders. The "No Write" symbol appeared on both of them. Is this normal? Does Samba make folders you don't have any rights to? I added myself as a user and checked the box that allows everyone access to the folder. I also checked the read and write boxes in Samba. What am I doing wrong and could someone also tell me the command to delete the folder on my desktop? The name of the folder is "Shared Folder". I'm a complete moron on Fedora so please go through the steps with me.

300 gold to the man with right answers!

I hope the given below URL will help you to rectify the issue
For further Details of how to configure Samba share folders, Please visit :
http://mageshbabu.m.googlepages.com/sambaconfiguration

Email : mageshbabu.m@gmail.com
Thanks
Magesh


All times are GMT -5. The time now is 12:56 PM.