Unix directory permissions for Samba


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Unix directory permissions for Samba
# 1  
Old 05-15-2002
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  
Old 05-22-2002
samba search

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

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

The search tool is great! Try it you'll like it!!
Smilie
# 3  
Old 05-23-2002
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..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Directory permissions

i have an application that writes to a directory. let's call the directory: /var/app/ the permissions of this directory is: drwxrwxr-x Now the files that the application creates in this directory usually dont have read permissions for others. i know there's something called... (3 Replies)
Discussion started by: SkySmart
3 Replies

2. Red Hat

cannot access a directory with samba

path = /opt writeable = yes ; browseable = yes # guest ok = no valid users = oracle path = /opt/TEST8000/oracle/apps/apps_st/appl/ffcl/12.0.0/reports/US writeable = yes ; browseable = yes valid users = oracle path... (1 Reply)
Discussion started by: rehantayyab82
1 Replies

3. Solaris

Directory Permissions for 2 users on 1 directory

we want to allow user to FTP files into a directory, and then the program (PLSQL) will read and process the file, and then move the file to other directory for archiving. the user id: uftp1, group: ftp the program run in oracle database, thus have the user Id: oraprod, group: dba how to... (2 Replies)
Discussion started by: siakhooi
2 Replies

4. Shell Programming and Scripting

Checking directory permissions on UNIX directory

Hi, How do i check if I have read/write/execute rights on a UNIX directory? What I'm doing is checking read access on the files but i also want to check if user has rights on the direcory in whcih these files are present. if then...... And I check if the directory exists by using... (6 Replies)
Discussion started by: chetancrsp18
6 Replies

5. UNIX for Dummies Questions & Answers

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... (1 Reply)
Discussion started by: binary-ninja
1 Replies

6. UNIX for Dummies Questions & Answers

Directory Permissions

Hi all. Only one of the following makes any kind of sense as a possible permission field for a UNIX file. Which one? --w------- ----rwxrwx -r-------- --rwx----- ----r----- I think it is no. 3. I dont think it would be 2, because why would you want to give groups and... (1 Reply)
Discussion started by: hawaiifiver
1 Replies

7. UNIX for Dummies Questions & Answers

unix directory permissions

Hi All I am using cygwin and if i type ls -l it is giving like drwxr-xr-x+ for directories. My question is what is the meaning of '+' sign at the end? its not giving that '+' sign for files. Thank you (1 Reply)
Discussion started by: Usha Shastri
1 Replies

8. 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

9. UNIX for Dummies Questions & Answers

permissions of a directory

Read and write bits make sense for a directory but what about the execute permission bit What does that imply?Is it just a filler? Saurabh (3 Replies)
Discussion started by: smehra
3 Replies

10. Shell Programming and Scripting

determine owner directory permissions from within the directory

From within a directory, how do I determine whether I have write permission for it. test -w pwd ; echo ? This doesn't work as it returns false, even though I have write permission. (4 Replies)
Discussion started by: Sniper Pixie
4 Replies
Login or Register to Ask a Question