search for: dirmode

Displaying 7 results from an estimated 7 matches for "dirmode".

Did you mean: dir_mode
2009 Aug 03
1
use gnulib, and begin to pass its "make syntax-check" tests
...talldirs b/mkinstalldirs deleted file mode 100755 index d2d5f21..0000000 --- a/mkinstalldirs +++ /dev/null @@ -1,111 +0,0 @@ -#! /bin/sh -# mkinstalldirs --- make directory hierarchy -# Author: Noah Friedman <friedman at prep.ai.mit.edu> -# Created: 1993-05-16 -# Public domain - -errstatus=0 -dirmode="" - -usage="\ -Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..." - -# process command line arguments -while test $# -gt 0 ; do - case $1 in - -h | --help | --h*) # -h for help - echo "$usage" 1>&2 - exit 0 - ;; - -m)...
2007 Jan 18
4
File type attribute "type"
I''m having a bit of trouble understanding what to do with the ''type'' attribute of ''file''. I would like to perform different operations on directories vs. files under the same structure, can ''type'' be used for this? Are there any other examples of doing this kind of thing? Thanks, Trevor
2008 Mar 11
4
Dropping Root
...is written in camping) for my own personal wiki. I''d like it to behave as a proper daemon, so it will start up at boot, get stopped properly at shutdown, keep a pid file in /var/run etc. This requires a little messing with the wiki script junebug makes in the wiki directory (changing the dirmode to system, amongst other things). Junebug uses the daemons gem for this purpose, for those who haven''t looked at the gem. This works and I can copy the wiki script to /etc/init.d/ and add the appropriate runlevel symlinks with update-rc.d. Which all works great. Except that I end with t...
2007 Jul 10
18
Recursive permissions
Does anyone know if it''s possible to do the following: Given the directory structure: /foo/bar /foo/bar/<bunch of stuff> Is it possible to set /foo/bar to, say 555, and all stuff below to 440 or the directory equivalent? Thanks, Trevor
2000 Jan 23
0
login.c: #ifdef wrong?
In login.c, I think the #ifdef in line 67 should be an #ifndef. Otherwise, the wrong lastlog mode is selected. Oops. I also changed the char array name (for the dirmode filename) to lbuf, as buf shadows the function parameter of the same name. Patch follows. Ta, -Andre --- openssh-1.2.1pre27/login.c Fri Jan 14 04:45:50 2000 +++ openssh-1.2.1pre27.ll/login.c Sun Jan 23 00:09:19 2000 @@ -58,20 +58,20 @@ char *lastlog; int fd; #ifdef LASTLOG_IS_DIR - char bu...
2010 Nov 01
1
Ubuntu Server can't see XP desktop share
Try as I might I can't get fstab has this in it... //Q660/sback /mnt/sback smbfs iocharset=utf8,credentials=/home/rsyncuser/.smbcredentials,dirmode=0775,gid=0 0 0 smbtree returns this... BANANA \\THECOMPUTER \\Q660 // A Windoze XP Home desktop machine \\Q660\Root \\Q660\sback // This is the share I w...
2007 Oct 17
4
Pam_mount + cifs
Hi, i'm probably not the first but i have found no concrete information about my problem... lots of information, nothing helped.. :S so, here's the thing.. i'm running a samba-3.0.22-13.16 server on SLES 9 kernel 2.6.16.21-0.8-default as an nt domain controller, there was a migration to Linux for the workstations so i had to implement WINBIND + PAM_MOUNT. after searching for the