LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-07-2003, 01:00 PM   #1
shani
LQ Newbie
 
Registered: Nov 2003
Distribution: RedHat 7.3
Posts: 1

Rep: Reputation: 0
files&folders permissions under SAMBA share


Heare is the case.
I have a shared SAMBA directory name USERS .

Inside the share i have couples of subirectorys name MIKI and JOEL.

I am a user name Yossi.
When Yossi copy a new file to MIKI's folder the file gets these fetures.
The owner is Yossi the group is Yossi and the permmisions are rwx-r-x-.
What i would like is that the file will inherit the MIKI's folder permissions,
Which are : owner=MIKI group=YOSSI and the file permmissions are 770
rwx-rwx-
 
Old 11-20-2003, 10:02 AM   #2
mking
LQ Newbie
 
Registered: Nov 2003
Posts: 1

Rep: Reputation: 0
Group permissions

We have the same issue here.

I have a Samba server with a Public folder. Inside the Public folder, there are subfolders belonging to various groups. I need a way to make sure that any files or folders created or edited within these subfolders ALWAYS take on the permissions of the parent folder - Is that possible? How?
 
Old 11-20-2003, 11:48 AM   #3
aqoliveira
Member
 
Registered: Dec 2001
Location: Portugal
Distribution: /Red Hat/Fedora/Solaris
Posts: 622

Rep: Reputation: 30
Howzit

Under linux set the SGID on the folder. The folder perms will look like this e.g rwxrwsr_x folder. Make sure that the users u want r placed in the correct group. Use the cmd chmod g+s folder or chmod 2??? folder.

chow
 
  


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
share folders/files on LAN debian/MS computers. ecampii Linux - Networking 2 09-28-2005 08:05 AM
Missing folders when accessing samba share from XP IgniZtion Linux - Software 2 08-18-2004 11:34 PM
Permissions of new folders through samba doctorwebbox Linux - Networking 9 08-10-2004 12:46 AM
Samba Share Folders chrisfirestar Linux - General 1 10-03-2003 04:23 AM
How to share files,folders and printer on a LAN ? ZhiYi Linux - Networking 2 02-15-2003 06:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:20 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