Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 09-02-2006, 02:45 PM   #1
Senior Member
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
SAMBA able to access denied folder in Windows

I have a Windows folder mounted in Linux under a generic user account. This Windows folder has many subdirectories. In one of these subdirectories, "private", I set the permission so that only one user should be able to access that one subdirectory while everyone else can access the entire Windows folder, except the "private" folder. In Windows, the permissions work fine.

When I mount this folder in Linux, SAMBA is able to access ALL the files and subdirectories, including the "private" folder, which is supposed to be only accessible to that one user. Is this because of problems with NTFS and inheriting permissions versus Linux's FAT file system? I basically still want all permissions to apply when I mount this Windows folder in Linux. Yes, I have checked permissions and this generic user account should not have access to this "private" folder

Hope this makes sense

Last edited by Micro420; 09-02-2006 at 02:47 PM.
Old 09-04-2006, 12:55 AM   #2
Registered: Dec 2002
Posts: 36

Rep: Reputation: 15
check the group permissions too.
Old 09-04-2006, 09:30 PM   #3
Registered: Aug 2006
Distribution: Centos, Fedora, Ubuntu, Slackware
Posts: 51

Rep: Reputation: 15
you can make sure all the permitions are set right using crown and chmod:
crown 'user' 'privte dir'
chmod 700 'private dir'

and see if that fixes your prob.


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 - access denied on windows time112852 Linux - Software 11 06-04-2010 10:08 AM
Folder Access Problems: Permission Denied piva.francesco Linux - Software 3 03-28-2006 12:11 AM
Samba - access denied on windows suco Linux - Software 6 09-26-2005 10:30 PM
samba : access denied for some user in same NT group on a folder mtrento Linux - Networking 0 06-27-2005 10:01 AM
windows xp and samba access denied eradiate Linux - Networking 4 06-01-2003 09:58 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:31 PM.

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