| Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
09-15-2008, 10:36 AM
|
#1
|
|
Senior Member
Registered: May 2004
Location: Orlando, FL
Distribution: Debian
Posts: 2,860
Rep:
|
Samba Permissions Query?
I have a Linux file server running Samba. The permissions on the server are 775 which makes it "read-only" to the others group. When the "others" group downloads this file to their workstation, the file is still "read only" for them on Windows XP. So they have to right click the file and de-select the "read-only" option. I was wondering if there is a way for the user to download the file however once the copy has been downloaded to their machine, it is no longer read-only.
I can't change the permissions on the files because I can't risk users just blowing away the files or modifying them. They simply need the ability to execute the directory the files are stored in and then drag and drop them to their local workstation. Its the post download process that I need the files to no longer be "read only".
Is this even possible?
|
|
|
|
09-16-2008, 07:06 PM
|
#2
|
|
Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep: 
|
What happens if you give 777 permissions, but define the share with "writeable = no"?
|
|
|
|
09-16-2008, 07:12 PM
|
#3
|
|
Senior Member
Registered: May 2004
Location: Orlando, FL
Distribution: Debian
Posts: 2,860
Original Poster
Rep:
|
Quote:
Originally Posted by billymayday
What happens if you give 777 permissions, but define the share with "writeable = no"?
|
Interesting...I forgot about that parameter. This is confusing for the OS and I guess it depends on who's permissions are dominant.
|
|
|
|
09-16-2008, 07:15 PM
|
#4
|
|
Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep: 
|
Quote:
Originally Posted by Carlwill
Interesting...I forgot about that parameter. This is confusing for the OS and I guess it depends on who's permissions are dominant.
|
I haven't tried it, but I would hope Samba trumps in this case (but not writeable = yes, 700)
|
|
|
|
09-16-2008, 07:17 PM
|
#5
|
|
Senior Member
Registered: May 2004
Location: Orlando, FL
Distribution: Debian
Posts: 2,860
Original Poster
Rep:
|
This makes sense since all users only access the machine via samba. Everyone is set to /bin/false so permissions on the file could be 777 but as long as samba is the interface, they can't modify (in theory), right?
|
|
|
|
09-16-2008, 07:20 PM
|
#6
|
|
Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep: 
|
That's my guess - but only that at this stage.
Set up a trial share.
|
|
|
|
| Thread Tools |
Search 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
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:04 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|