[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: [K12OSN] Network Drives



Sorry, I forgot to mention that the login.defs unmask was set to 077, so I changed it to 007.


Levi Kemp
Technology Specialist
Bolivar R-1 Schools
417-328-8943
lnkemp bolivar k12 mo us



-----Original Message-----
From: k12osn-bounces redhat com on behalf of Kemp, Levi
Sent: Mon 8/27/2007 1:48 PM
To: Support list for open source software in schools.
Subject: RE: [K12OSN] Network Drives
 
Ok well here is what shows when I show the permissions for the shared directory. 

drwxrwxrwx 1 root users 0 Aug 27 10:01 /mnt/M

Is that not going to work?

Levi Kemp
Technology Specialist
Bolivar R-1 Schools
417-328-8943
lnkemp bolivar k12 mo us



-----Original Message-----
From: k12osn-bounces redhat com on behalf of Dan Young
Sent: Mon 8/27/2007 1:05 PM
To: Support list for open source software in schools.
Subject: Re: [K12OSN] Network Drives
 
On 8/27/07, Kemp, Levi <lnkemp bolivar k12 mo us> wrote:
> Well I'll just be honest here, you went right over my head. I'm sure I could research it and eventually find what you mean, but I'm kinda in mid-use right now so if you could elablorate I'd appreciate it. Thanks!

Sorry, didn't mean to gloss over the details.

/etc/login.defs defines some parameters for users, including the
default permissions of files they create. You probably need a umask of
007 to have newly created files be group read/writable and directories
be group read/write/executable.

http://en.wikipedia.org/wiki/Umask
http://www.tech-faq.com/umask.shtml

An "ls -ld /path/to/shared/dir" should show the permissions for the
shared directory. I think you'll want something like:

drwxrws---

Doing a g+s on a directory will cause files created in that directory
to inherit the group ownership of the directory, which is generally
desired in a "group share" scenario.

-- 
Dan Young <dyoung mesd k12 or us>
Multnomah ESD - Technology Services
503-257-1562

_______________________________________________
K12OSN mailing list
K12OSN redhat com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>


<<winmail.dat>>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]