The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Directory Default Permissions prvnrk UNIX for Advanced & Expert Users 4 10-19-2007 01:22 AM
Samba Permissions Krrishv UNIX for Advanced & Expert Users 3 06-13-2007 04:09 AM
permissions of a directory smehra UNIX for Dummies Questions & Answers 3 06-04-2006 11:32 AM
determine owner directory permissions from within the directory Sniper Pixie Shell Programming and Scripting 4 03-07-2006 05:06 PM
directory permissions and CHMOD ncarmstrong UNIX for Dummies Questions & Answers 3 08-14-2002 02:00 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-15-2002
szahir1 szahir1 is offline
Registered User
  
 

Join Date: Apr 2002
Posts: 4
Question 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 g+rwx directory

Now, this presents a slight dilemma - everything is executable (well for the group anyway) which I don't think is really a good thing to have, but since I can't figure out any other solution, I'm kind of stuck at the moment.

I was wondering if anyone out there had the same problem and found a workaround?
  #2 (permalink)  
Old 05-22-2002
Kelam_Magnus's Avatar
Kelam_Magnus Kelam_Magnus is offline Forum Advisor  
Registered User
  
 

Join Date: Aug 2001
Location: DFW McKinney, TX,
Posts: 1,069
samba search

Here is a link to a samba search I did on this site. Maybe it will help you.

http://www.unix.com/search.php?s=&ac...der=descending

The search tool is great! Try it you'll like it!!
  #3 (permalink)  
Old 05-23-2002
LivinFree's Avatar
LivinFree LivinFree is offline Forum Advisor  
Goober Extraordinaire
  
 

Join Date: Jul 2001
Location: Portland, OR, USA
Posts: 1,584
One of any administrator's headaches with Samba is that Windows ACLs and Unix permissions do not match up very well.
Not to mention that Win2k and NT aren't even very compatible - I don't know how Win2k ACLs will look on a Unix system...

With directories, rwx is OK for the user (equals full control in windows). Groups may want r-x, so they can't write.
Then of course, the file permissions count a lot...

If all else fails, try chmod 777 everything in the share, then go back and change them with the windows ACL setup... It might look funky, but I've had good luck with it before..
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:54 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0