LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-07-2008, 02:18 PM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Rep: Reputation: 77
Samba Share Help (Permissions)


I can't understand why when I user creates a file or folder in the share, the permissions are not what they are specified to be forced from the smb.conf.

Here is the share:

Code:
[share]
        comment = test share (don't use this!!!)
        path = /share/test
        write list = cwilliams twooding mwilshaw
        directory mask = 0750
        create mask = 0750
Now when I login as cwilliams and create a file and folder I expect them to both be rwx r-x --- however I get the following results and I don't know why...

Code:
drwxr-x---  2 cwilliams ctia 4096 Feb  7 15:16 test
-rwxr-----  1 cwilliams ctia    0 Feb  7 15:16 test.txt
It appears that my directory mask is correct however my create mask is coming up as 740 rather than 750...anyone know what I did wrong?

Last edited by carlosinfl; 02-07-2008 at 02:20 PM.
 
Old 02-08-2008, 07:33 AM   #2
ehawk
Senior Member
 
Registered: Jul 2003
Posts: 1,257

Rep: Reputation: 48
also post to

http://www.debianhelp.org/forum/1

justlinux.com
 
Old 02-08-2008, 07:36 AM   #3
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
This was not on a Debian specific server. Specifically it was RHEL / CENTOS but I don't think that makes a difference. Its all the same samba config when it comes down to the basics.
 
  


Reply



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
permissions on mounted samba share ross Linux - General 2 03-06-2007 05:09 AM
samba share permissions keisinger Linux - Enterprise 1 08-13-2006 08:56 AM
Samba share permissions anorman Linux - Software 1 10-22-2005 02:49 AM
samba share permissions? psychomaniac Linux - Software 4 04-29-2004 02:22 PM
Samba Share Permissions stever Linux - Newbie 4 05-17-2003 02:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:59 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
Open Source Consulting | Domain Registration