[K12OSN] SMBFS Permissions
Doug Simpson
simpsond at leopards.k12.ar.us
Tue Jan 24 17:12:32 UTC 2006
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 root.
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