Changeset 449


Ignore:
Timestamp:
10/04/2009 21:36:43 (3 years ago)
Author:
blee
Message:

Ensure that lock files are world-readable, which removes the need for
conf_system_is_locked to use sudo.

See #80

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/conflock.in

    r401 r449  
    4747        return 0 
    4848    fi 
     49 
     50    # Ensure that the lock is world-readable 
     51    umask 022 
    4952 
    5053    # This is a race-free bourne lock.  
  • trunk/confmanlib.sh.in

    r437 r449  
    157157 
    158158function conf_system_is_locked { 
    159     ${SUDO} ${LOCK} haslock $$ "$LOCKFILE" 
     159    ${LOCK} haslock $$ "$LOCKFILE" 
    160160} 
    161161 
Note: See TracChangeset for help on using the changeset viewer.