LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 05-01-2007, 04:49 PM   #1
Ordinary12
Member
 
Registered: Feb 2007
Posts: 140

Rep: Reputation: 15
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!
 
Old 05-01-2007, 08:27 PM   #2
cyborg_jt
Member
 
Registered: Jan 2004
Location: New Zealand
Distribution: 2.6.11-gentoo-r3
Posts: 120

Rep: Reputation: 15
/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
 
Old 05-01-2007, 08:33 PM   #3
combatwombat
Member
 
Registered: Apr 2003
Location: Hastings, Hawkes Bay, NZ
Distribution: Ubuntu Gutsy Gibbon
Posts: 53

Rep: Reputation: 15
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.
 
Old 05-01-2007, 10:43 PM   #4
mageshbabu.m
LQ Newbie
 
Registered: Dec 2005
Posts: 2

Rep: Reputation: 0
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
 
  


Reply

Tags
networking, samba, share, write


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba NOT allowing access to folders cucolin@ Linux - Software 6 07-04-2007 01:25 AM
Samba - can't delete remote folders ? Caysho Linux - Networking 4 02-04-2006 04:41 AM
Samba can create new files and folders but access denied in any new folders k.king Linux - Networking 2 01-15-2006 06:14 AM
Permissions of new folders through samba doctorwebbox Linux - Networking 9 08-10-2004 12:46 AM
Samba Share Folders chrisfirestar Linux - General 1 10-03-2003 04:23 AM


All times are GMT -5. The time now is 09:18 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration