[BusyBox-cvs] [BusyBox 0000328]: mount changes directory permissions
bugs at busybox.net
bugs at busybox.net
Thu Jul 7 12:45:53 UTC 2005
The following issue has been RESOLVED.
======================================================================
<http://busybox.net/bugs/view.php?id=328>
======================================================================
Reported By: jmpg
Assigned To: BusyBox
======================================================================
Project: BusyBox
Issue ID: 328
Category: Other
Reproducibility: always
Severity: major
Priority: normal
Status: resolved
Resolution: not fixable
Fixed in Version:
======================================================================
Date Submitted: 07-07-2005 05:00 PDT
Last Modified: 07-07-2005 05:45 PDT
======================================================================
Summary: mount changes directory permissions
Description:
After I mount a tmpfs on /tmp the mounted directory gets its permissions
changed.
Example:
$ mount
/dev/hdc1 on / type ext2 (rw)
none on /proc type proc (rw,nodiratime)
none on /sys type sysfs (rw)
tmpfs on /dev type tmpfs (rw)
/dev/hdc2 on /usr type ext2 (rw,sync,noatime)
/dev/hdc3 on /var type ext2 (rw,sync,noatime,noexec)
none on /proc/bus/usb type usbfs (rw)
$ ls -al /tmp
drwxrwxrwt 2 root root 1024 Jul 5 14:58 .
drwxr-xr-x 14 root root 1024 Jul 7 11:41 ..
$ mount -t tmpfs tmpfs /tmp
$ mount
/dev/hdc1 on / type ext2 (rw)
none on /proc type proc (rw,nodiratime)
none on /sys type sysfs (rw)
tmpfs on /dev type tmpfs (rw)
/dev/hdc2 on /usr type ext2 (rw,sync,noatime)
/dev/hdc3 on /var type ext2 (rw,sync,noatime,noexec)
none on /proc/bus/usb type usbfs (rw)
tmpfs on /tmp type tmpfs (rw)
$ ls -al /tmp
drwxr-xr-x 2 root root 0 Jul 7 12:55 .
drwxr-xr-x 14 root root 1024 Jul 7 11:41 ..
======================================================================
----------------------------------------------------------------------
vapier - 07-07-05 05:45
----------------------------------------------------------------------
last i checked the kernel is doing that, not mount
Issue History
Date Modified Username Field Change
======================================================================
07-07-05 05:00 jmpg New Issue
07-07-05 05:45 vapier Status assigned => resolved
07-07-05 05:45 vapier Resolution open => not fixable
07-07-05 05:45 vapier Note Added: 0000270
======================================================================
More information about the busybox-cvs
mailing list