Opened 8 years ago

Last modified 5 years ago

#63 accepted defect

sali does not honor original dir permissions when creating mount points

Reported by: ramonb Owned by: dennis
Priority: major Milestone: SALI 1.7.0
Component: sali kernel/initrd Version: 1.5.8
Keywords: Cc:


When image contains mount point with certain permissions, i.e.:

  • /scratch mode 1777

Whenever the mount point is created by the SALI install script (mkdir /scratch) it does not honor those permissions. In stead the mount point has the install script umask permissions, i.e.:

  • /scratch mode 7777

This results in /scratch mount point having different permissions as in the image.

This is done by the "partition" command in SALI

        logmsg "partition $DISK1 0:xfs:/scratch:scratch"
        partition $DISK1 0:xfs:/scratch:scratch || shellout

Perhaps there is some way to check and set the original permission's when creating the mount point.

mkdir supports an option -m <mode> i.e.: mkdir -m 1777 /scratch

Attachments (0)

Change History (5)

comment:1 Changed 8 years ago by dennis

  • Component changed from sali to sali kernel/initrd

Some modifications must be made to the partition command

comment:2 Changed 8 years ago by dennis

  • Owner changed from somebody to dennis
  • Status changed from new to accepted

comment:3 Changed 8 years ago by dennis

  • Milestone set to SALI 1.6.0
  • Version changed from 1.5.7 to 1.5.8

comment:4 Changed 7 years ago by dennis

  • Milestone changed from SALI 1.6.0 to SALI 2.0.0

comment:5 Changed 5 years ago by dennis

  • Milestone changed from SALI 2.0.0 to SALI 1.7.0

Milestone renamed

Add Comment

Modify Ticket

Change Properties
as accepted The owner will remain dennis.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from dennis to the specified user. Next status will be 'assigned'.
The owner will be changed from dennis to anonymous. Next status will be 'accepted'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.