LinuxQuestions.org
Review your favorite Linux distribution.
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 05-05-2006, 05:01 AM   #1
Azhrarn
Member
 
Registered: Aug 2005
Location: Europe
Posts: 63

Rep: Reputation: 15
Basic folder permissions question


Hi all,

I ve set up a samba file server with FC5 and smb 3.
I need all file and subfolders to have the same permissions:

I have
/deps/Design set to chmod 755 and chown root.Design

sometimes users copy files into /deps/Design and permissions go a bit wild.

How can I avoid this?

How can I get all files put into /deps/Design
to inherit the 755 and root.Design without adding

chmod -R 755 /deps/Design
chown root.Design /deps/Design

to cron.hourly?

I know that the GID should set the content ownership to root.Design, but does it work for the 755 too?

Thanks a mil
Azh
 
Old 05-05-2006, 06:20 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
You need to set the user and permissions on new files in the samba setup:
http://www.cae.wisc.edu/site/public/...s-applications
Look in the section titled "Samba Share-level Administration"
 
  


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 difference between /home/..../folder and /root/folder darkleaf Linux - General 3 07-21-2005 05:23 PM
folder permissions steve007 Linux - Newbie 1 06-30-2005 12:46 PM
basic linux programming/compiling question (permissions error) Godsmacker777 Programming 11 03-17-2005 11:35 AM
Folder Permissions DB03 Linux - Newbie 5 04-18-2004 03:08 PM
Folder/File Permissions Question? gsmonk Linux - General 8 07-20-2003 03:08 AM

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

All times are GMT -5. The time now is 01:21 PM.

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