[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



Has anyone ever seen permissions/ownership change depending
on what "drive" is mounted?

Consider the lines from a command session listed below.

It will make more sense if you understand that I have
a pen drive/thumb drive/USB widget (whatever you want
to call it) that is attached by the OS either to
/dev/sda1 or to /dev/sdb1.  In either case I mount it to
/mnt/widget/.

First I plug in the device, mount it and then check the
ownership/permissions in /mnt. Then I unmount the device
and run "ls -l" on /mnt again. Note how the ownership of
/mnt/widget changes.

Does anyone have _any_ idea what is going on here? I'd really
like to be able to use the GUI to copy files to this device
without having to bring up a root shell and use the command
line. But as long as the "mounted" device is owned by root,
this is not possible.

- ----------------- <begin copied data> --------------------------

[root at localhost mnt]# mount /dev/sda1 /mnt/widget
[root at localhost mnt]# ls -l
total 88
drwxr-xr-x    2 kilpat   users        4096 Aug 14 21:04 foo
drwxr-xr-x    4 root     root        16384 Dec 31  1969 widget
drwxr-xr-x    2 kilpat   users        4096 Sep 22  2003 zip

[root at localhost mnt]# umount /dev/sda1
[root at localhost mnt]# ls -l
total 76
drwxr-xr-x    2 kilpat   users        4096 Aug 14 21:04 foo
drwxrwxrwx    2 kilpat   users        4096 Aug 14 20:10 widget
drwxr-xr-x    2 kilpat   users        4096 Sep 22  2003 zip

(rest of the /mnt directory deleted for brevity.)
- ---------------- <end copied data> ------------------------------


I also note that the line "total 88" changes to "total 76"
but I have no idea what information that line is giving me.

Sean

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFBH7t773hVp4UeGJERAqZ8AJ9yav3DootDT79sZIMl1nODVAdViQCgs5yV
HGDlfBhgktaZKrokInctCHI=
=ABZc
-----END PGP SIGNATURE-----


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00362" href="msg00362.html">[ale] permission confusion</a></strong>
<ul><li><em>From:</em> esoteric at 3times25.net (Geoffrey)</li></ul></li>
<li><strong><a name="00397" href="msg00397.html">[ale] permission confusion</a></strong>
<ul><li><em>From:</em> mhirsch at nubridges.com (Michael D. Hirsch)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00355.html">[ale] Local electric/datacom supply retail stores?</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00357.html">[ale] Local electric/datacom supply retail stores?</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00378.html">[ale] Tools for writing docbook?</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00362.html">[ale] permission confusion</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00356"><strong>Date</strong></a></li>
<li><a href="threads.html#00356"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>