[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Mon Aug 16 07:59:10 2004 -->
- <!--x-from-r13: rfbgrevp ng 3gvzrf25.arg (Urbsserl) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: [email protected] --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] permission confusion -->
- <li><em>date</em>: Mon Aug 16 07:59:10 2004</li>
- <li><em>from</em>: esoteric at 3times25.net (Geoffrey)</li>
- <li><em>in-reply-to</em>: <<a href="msg00356.html">[email protected]</a>></li>
- <li><em>references</em>: <<a href="msg00356.html">[email protected]</a>></li>
- <li><em>subject</em>: [ale] permission confusion</li>
Permissions can and will change on the mount point when you mount a
device depending on who you permit to mount it. For example, if you
permit any user to mount the device, you'll see that the mount point
will be owned by that user when that user mounts it. Here is an example
for my memory stick device on my laptop:
rhws/home/esoteric> ls /mnt/memstick
ls: /mnt/memstick: Permission denied
rhws/home/esoteric> mount /mnt/memstick
rhws/home/esoteric> ls -ld /mnt/memstick
drwxr-xr-x 3 esoteric users 16384 Dec 31 1969 /mnt/memstick
/etc/fstab entry for this device:
/dev/sda1 /mnt/memstick vfat noauto,user,exec 0 0
Note the user option in the entry.
If I unmount it, then su to root and list the device I get:
root at rhws/home/esoteric> ls -ld /mnt/memstick
drwx------ 2 root root 4096 May 12 13:59 /mnt/memstick
--
Until later, Geoffrey Registered Linux User #108567
AT&T Certified UNIX System Programmer - 1995
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00368" href="msg00368.html">[ale] permission confusion</a></strong>
<ul><li><em>From:</em> drifter at oppositelock.org (Sean Kilpatrick)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00356" href="msg00356.html">[ale] permission confusion</a></strong>
<ul><li><em>From:</em> drifter at oppositelock.org (Sean Kilpatrick)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00361.html">[ale] Hyperthreading</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00363.html">[ale] Local electric/datacom supply retail stores?</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00356.html">[ale] permission confusion</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00368.html">[ale] permission confusion</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00362"><strong>Date</strong></a></li>
<li><a href="threads.html#00362"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>