* OT: Why does mount -o remount uid= not change the uid in the mounted partition?
@ 2008-09-28 5:01 Shriramana Sharma
0 siblings, 0 replies; only message in thread
From: Shriramana Sharma @ 2008-09-28 5:01 UTC (permalink / raw)
To: Linux C Programming List
Hello I tried asking this elsewhere but got no response so turning back
to my friends here though this is OT.
/dev/sdb1 is a VFAT partition. Now see:
[samjnaa:/mnt] sudo mount /dev/sdb1 /mnt/sdb1
[samjnaa:/mnt] ls sdb1 -l
total 28
drwxr-xr-x 7 root root 4096 2008-08-06 15:07 apps
...
drwxr-xr-x 2 root root 4096 2008-08-07 11:07 uload
[samjnaa:/mnt] sudo mount /dev/sdb1 /mnt/sdb1 -o remount,uid=samjnaa
[samjnaa:/mnt] ls sdb1 -l
total 28
drwxr-xr-x 7 root root 4096 2008-08-06 15:07 apps
...
drwxr-xr-x 2 root root 4096 2008-08-07 11:07 uload
Account to the mount manpage, -o remount is "commonly used to change the
mount flags for a file system" but why does it then not change the uid?
If I fully umount the partition and do another clean mount with -o
uid=samjnaa, I get the desired result, but why doesn't remount work?
Shriramana Sharma.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-09-28 5:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-28 5:01 OT: Why does mount -o remount uid= not change the uid in the mounted partition? Shriramana Sharma
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).