[K12OSN] SMBFS Permissions

Paul VanGundy vangundypw at sau14.k12.nh.us
Tue Jan 24 18:22:23 UTC 2006

Doug and All,

You didn't confuse me at all. But that means mounting volumes via fstab is
pointless then. Staff and students can't add or take away anything from the
shared drive that is automounted when they log in to a terminal. With only
read/execute privileges there is no way to edit a document they saved in
that share on a terminal and save it back. I need to make it so that staff
and students can save work they do on a terminal back onto that shared
drive. With the current configuration of 755 and root being the owner that
isn't possible. Surely there is a work around?


Paul VanGundy
Information Technology Director
Epping High School
Epping Middle School
P: 603.679.5472
F: 603.679.2966
vangundypw at sau14.k12.nh.us
Registered Linux User #398783

-----Original Message-----
From: Doug Simpson [mailto:simpsond at leopards.k12.ar.us] 
Sent: Tuesday, January 24, 2006 12:13 PM
To: vangundypw at sau14.k12.nh.us; Support list for opensource software in
Subject: Re: [K12OSN] SMBFS Permissions

Uhh. . . fstab. . .share. . .? something don't add up there. . .

Fstab you can set the volume (whole drive) to read only or read-write.  
Has absolutely nothing to do with samba, except if you have the volume read
only, no matter what permissions you use on the samba share, the drive will
still not allow writing by anyone but root.

There are parameters you can set in samba to make everything write as root,
but that is not the best way because, especially in a publicly available
share, you want to know who owns the files. If you set it to where root
writes everything and someone posts some wicked something in there, there
won;t be any way to tell who it was because all the files will be owned by

Been there, done that. . .

Set the volume back to read-write and let samba handle the share.

Hopefully I didn't cornfuze ya too much. . .

Doug Simpson
Technology Specialist
DeQueen Public Schools
DeQueen, AR 71832
simpsond at leopards.k12.ar.us
Tux for President!

On Tue, 24 Jan 2006, Paul VanGundy wrote:

> All,
> Here's my setup:
> 1. I have K12LTSP 4.4.1 authenticating users against a Win2K3 AD 
> Server (for single sign on purposes from Windows computers to Linux 
> terminals)
> 2. I have a shared folder that is on a Windows 2000 Server being 
> automatically mounted when every user logs in to a Linux terminal. 
> Each user has their own domain folder but this folder is a general 
> purpose folder that every student and staff memeber can use.
> The Problem:
> I edited /etc/fstab as root so the permissions on the share are 755 
> which only allows root to Read/Write/Execute and everyone else to only 
> Read/Execute. How can I edit the share to allow everyone to 
> Read/Write/Execute (777) from the share? Any ideas and/or help would 
> be greatly appreciated.
> Thanks in advance.
> -Paul
> --
> Paul VanGundy
> Information Technology Director
> Epping High School
> Epping Middle School
> P: 603.679.5452
> F: 603.679.2966
> vangundypw at sau14.k12.nh.us
> Registered Linux User #398783
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>

More information about the K12OSN mailing list