LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-13-2012, 02:41 PM   #1
Stary
LQ Newbie
 
Registered: Apr 2012
Posts: 1

Rep: Reputation: Disabled
Samba rights for application


Here is my situation:
I put two folders to a samba shares with full rights. I can see and use them from windows clients.
In the first folder \Programs I put an EXE program and some PDF files to the second folder \PDF. The program uses this PDF files and should have full rights for create / update and delete them. Since I put full rights to bozh folders, everything works fine.

Now I want to restrict the rights for the PDF folder - I don't want that user has access to those files except if he touch them from the particular application (running an exe program from \Programs folder). So if the user search or explore folders with other tools or from command line or windows directly, those files should be protected.

I wonder if there is possible to put some "application" rights on the folder and not common user rights?
 
Old 04-14-2012, 04:50 PM   #2
Felipe
Member
 
Registered: Oct 2006
Posts: 302

Rep: Reputation: 32
Hello:

For sharing files and folders using samba what i do is:
- Use ACL for files and folders. Thus, you can say how and how can access (read, write, execution) to files and foders.
- Sharing that files and folders saying that permissions are granted according to acl.

You can read this post:


http://www.linuxquestions.org/questions/linux-server-73/file-permissions-and-acls-on-ntfs-partition-927645/#post4603384
 
  


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
Samba Rights Problem ajperez SUSE / openSUSE 3 11-19-2006 10:41 PM
Samba Access Rights esasse Linux - Newbie 6 12-22-2004 06:45 AM
Samba Rights Problem paul.nel Linux - Networking 1 12-18-2004 04:40 AM
Access Rights using Samba Nylix Linux - Newbie 1 05-14-2004 03:01 PM
samba rights/security? Emanon Linux - Newbie 4 03-21-2004 07:20 AM

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

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