LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-10-2014, 07:18 AM   #1
spooksman
LQ Newbie
 
Registered: Apr 2014
Posts: 2

Rep: Reputation: Disabled
Samba and permissions ( permissions seems ok but wont work anyway )


Hi,
Another one on the topic Samba and permissions.
I have set up a share for "/" that i can access and list the folders and files inside. But i cant folders that have been mounted (other disks) or folders that i create through the terminal. The permissions seems to be right.
For example i created a folder inside /tmp called test through the samba client and then i created a folder called test2 through the terminal and made sure that my two folders /tmp/test and /tmp/test2 had the same permissions:

[root@app tmp]# mkdir test2
[root@app tmp]# ls -dl test test2
drwxr-xr-x. 2 root root 4096 Apr 10 14:10 test
drwxr-xr-x. 2 root root 4096 Apr 10 14:11 test2

I can open the folder called test from my smbclient but not the folder test2.
I am running samba server 3.6.9-168.el6_5.
Do i need to provide more information or do anyone have some suggestion of what can be wrong?

Regards,
Martin
 
Old 04-10-2014, 09:58 AM   #2
spooksman
LQ Newbie
 
Registered: Apr 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
Solved this. Was SELinux that was blocking. Settting:

setsebool -P samba_export_all_rw on

was the solution.
 
  


Reply


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
[SOLVED] Samba wont give execute permissions to client Droa Linux - Server 1 05-08-2012 06:18 AM
[SOLVED] filesystem permissions question - making so user can't change permissions? c0pe Linux - Security 4 07-12-2010 09:06 AM
[SOLVED] Lack basic understanding of permissions(apache permissions problem) cK` Linux - Newbie 7 04-08-2010 11:49 PM
permissions wont allow me to write Justin2021 Linux - Networking 29 07-28-2006 03:32 PM
Samba domain member server (DMS) group permissions in network with a Samba PDC srosa Linux - Networking 0 05-01-2006 05:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:40 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration