On 07/19/2000 14:28 -0400, Hong F Du wrote:
>>      Hi All,
>>      
>>      I have a dos formatted drive /mnt/dosE, its permission is 761. When it
>>      is not mount yet,  I can change its mode to 771. When I mount it, its
>>      permission is automatically changed back to 761. Once the drive is
>>      mounted, I cannot change its permission no matter what I try.
>>      

When the drive is not mounted, the chmod affects only the directory
on which the drive will be mounted. Once the drive is mounted, the
root inode of that filesystem overlays the directory (so you can't
get to the directory any more until the drive is unmounted), so chmod
would then affect that inode, and not the directory. Why you can't
change the mode on the filesystem's root inode, though I can't
say - are you mounting it read-only? Is it NTFS, which (usually)
can't be mounted read-write? A cdrom? A FAT filesystem which doesn't
relate directly to the Unix permission triad? Need more information
to analyze any further...


                        tw

>>      What is going on here? How should I make the permission change?
>>      
>>      Thank you in advanced
>>      
>>      feng
End of included message



-- 
+--------------------------+------------------------------+
| Tim Walberg              | [EMAIL PROTECTED]       |
| 828 Marshall Ct.         | www.concentric.net/~twalberg |
| Palatine, IL 60074       |                              |
+--------------------------+------------------------------+

PGP signature

Reply via email to