LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 09-15-2008, 11:36 AM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Rep: Reputation: 73
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?
 
Old 09-16-2008, 08:06 PM   #2
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
What happens if you give 777 permissions, but define the share with "writeable = no"?
 
Old 09-16-2008, 08:12 PM   #3
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 73
Quote:
Originally Posted by billymayday View Post
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.
 
Old 09-16-2008, 08:15 PM   #4
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Quote:
Originally Posted by Carlwill View Post
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)
 
Old 09-16-2008, 08:17 PM   #5
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 73
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?
 
Old 09-16-2008, 08:20 PM   #6
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
That's my guess - but only that at this stage.

Set up a trial share.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
A query on samba crimsonflame123 Linux - Networking 4 03-18-2007 01:59 AM
Samba domain member server (DMS) group permissions in network with a Samba PDC srosa Linux - Networking 0 05-01-2006 06:55 PM
SAMBA says 'Samba Server is not accebile, you might have no permissions' Ahmad Gurchani Linux - General 1 01-01-2005 11:34 AM
ipchains log and samba query RichardBuck Linux - Networking 0 12-22-2004 08:16 PM
Samba - User query rooch84 Linux - Networking 3 11-04-2004 10:15 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration