Samba permissions


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Samba permissions
# 1  
Old 07-13-2011
Samba permissions

I'm in the process of setting up a Ubuntu based samba server to replaces our current windows file server.

I have everything properly configured including having the server authenticating with AD but im having trouble setting up permission on a folder to mimic our current windows setup.

From a windows client I can surf to
\\Win-server\Private\username and I have it setup so our users can't enter the Private directory but can access a mapped drive that points to a mapped drive.

For example JDoe can only access \\Win-server\Private\jdoe and Mary can only access \\Win-server\Private\mjane but neither can surf directly to \\Win-server\Private\.

Is this even possible and if so how?
# 2  
Old 07-13-2011
A directory needs to be readable to see its contents, but only needs to be executable to cd into or through it. So a directory set to 110 would let the user that owns it or groups that belong to it cd into dir/whatever, but give 'permission denied' on 'ls dir'.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Solaris

samba issue: one samba share without password prompting and the others with.

Hi All, I've been trying to configure samba on Solaris 10 to allow me to have one share that is open and writable to all users and have the rest of my shares password protected by a generic account. If I set my security to user, my secured shares work just fine and prompt accordingly, but when... (0 Replies)
Discussion started by: ideal2545
0 Replies

2. UNIX for Dummies Questions & Answers

SAMBA

currently, we are using SAMBA for our ftp way. can SAMBA be encrypted aka sftp ? (2 Replies)
Discussion started by: lawsongeek
2 Replies

3. Shell Programming and Scripting

ksh; Change file permissions, update file, change permissions back?

Hi, I am creating a ksh script to search for a string of text inside files within a directory tree. Some of these file are going to be read/execute only. I know to use chmod to change the permissions of the file, but I want to preserve the original permissions after writing to the file. How can I... (3 Replies)
Discussion started by: right_coaster
3 Replies

4. HP-UX

To give the "unzip" permissions & "create" file permissions

Hi, I am a Unix Admin. I have to give the permissions to a user for creating new file in a directory in HP-Ux 11.11 system since he cannot able to create a new file in the directory. Thanks in advance. Mike (3 Replies)
Discussion started by: Mike1234
3 Replies

5. UNIX for Advanced & Expert Users

Samba Permissions

Hi Gurus, Need one help. I have a sun server which is also have a samba service running.Now i have given access to the users to some particular web application folders in my unix. My web application is controlled by a Web application user account in my unix. But when a user creates a folder... (3 Replies)
Discussion started by: Krrishv
3 Replies

6. UNIX for Dummies Questions & Answers

Samba help

Hey. I have a question about adding users and maping theirs dirictorys. Main Folder | -User1 Folder -User2 Folder -User3 Folder ...... How can I add this users to have folders in the Main Folder ? any simple script? And I... (0 Replies)
Discussion started by: net555
0 Replies

7. UNIX for Advanced & Expert Users

Unix directory permissions for Samba

Hi, I've installed Samba on an AIX machine and configured smb.conf to have a bunch of shares available to Windows. I can see the shares, but I couldn't access them. After about 30 minutes of chmod'ding if finally got access by doing the following to the directories I shared: chmod -R... (2 Replies)
Discussion started by: szahir1
2 Replies
Login or Register to Ask a Question