LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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

Reply
 
Search this Thread
Old 08-16-2007, 07:49 AM   #1
frado
LQ Newbie
 
Registered: May 2005
Location: Nova Milanese (MI/Italy)
Distribution: Slackware
Posts: 20

Rep: Reputation: 0
Question Ubuntu Samba "The folder contents could not be displayed"


Hi,
I've installed e second linux: ubuntu 6.06 (the first one is opensuse 10.2).
I've intalled samba.
The issue is: two similar shared folder have different behaviour!
The first one works right, the second one doesn't work (cannot access to it).
The two folder are into two different partitons (ext3) mounted with the same options.
The samba entries ar equals:
--- Ok ---
[trash]
path = /media/sdc7_Persoal/Trash
available = yes
browseable = yes
public = yes
writable = yes
--- Problem ---
[retesc]
path = /media/sdc6_home_suse/frado/ReteSC
available = yes
browseable = yes
public = yes
writable = yes

The folders authorizations are the same.

Any idea?
Thanks.
 
Old 08-16-2007, 08:16 AM   #2
frado
LQ Newbie
 
Registered: May 2005
Location: Nova Milanese (MI/Italy)
Distribution: Slackware
Posts: 20

Original Poster
Rep: Reputation: 0
Lightbulb I've found the solution but it surprises me

Hi,
I've changed the partent folder execution permission and now it works,
before parent folder permissions was:
drwxr--r--
than I've chenged them:
drwxr-xr-x

I suppose the problem was that samba was not able to manage the folder beacuse its parent folder had no execution permission.
But smbd runs as root user?! root shouldn't do everything?

Bye.
 
Old 08-16-2007, 05:29 PM   #3
Gortex
Member
 
Registered: Nov 2005
Location: Enid Ok
Distribution: ubuntu 64 , debian , fedora core , vista ultimate 64, Winows 7 64 ultimate :p
Posts: 219

Rep: Reputation: 30
Quote:
Originally Posted by frado View Post
Hi,
I've changed the partent folder execution permission and now it works,
before parent folder permissions was:
drwxr--r--
than I've chenged them:
drwxr-xr-x

I suppose the problem was that samba was not able to manage the folder beacuse its parent folder had no execution permission.
But smbd runs as root user?! root shouldn't do everything?

Bye.
I think that samba only manages the session, where as the actual Security of the files and folders is still managed by your operating system. With that being said, if you just have a samba entery for a share set to browse and write, Samba will set that up for all users. The operating system will control if the user does or does not have actual premessions to the files or folders.
 
  


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
"rm -rf /tmp", now Evolution shows "(no folder displayed" Ed-MtnBiker Linux - Software 7 04-10-2006 04:05 PM
Wireless chip is displayed as "Ath0" instead of "wlan0" with Belkin F5D7000 ceramicsushi Linux - Wireless Networking 4 04-05-2006 11:26 PM
CD ROM ERROR "folder contents cant be displayed" crunchyuncle Linux - Hardware 3 03-15-2006 09:43 PM
Folder contents canot be displayed - Samba, XP and FC3 gvimalku Linux - Software 3 05-26-2005 11:49 AM
Samba - "The location cannot be displayed with this viewer." stodge Linux - Networking 2 09-06-2004 12:50 PM


All times are GMT -5. The time now is 05:07 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