On Sat, 2002-08-24 at 16:36, Sameer Shinde wrote:
[snip]
I have the similar entries in my /etc/fstab file which says,
/dev/hda1 /mnt/dosC vfat defaults 0 0
But the problem is, I can write on this disk only if I'm root. For other users I don't have the write permission. I have read & exe permission although. How can I get write permission also?
/dev/hda1 /mnt/dosC vfat rw,nosuid,nodev,uid=<your user id>,gid=<your group id> 0 0
All of above in one single line, do man mount for more options and explanation.
I tried chmod with 777 option, but I was unable to change the permission
One thing I found that with chmod command, I can't change the permission of a directory, although I can change the permission of a file. How can I change the permissions of the directory ? I read the man page for chmod which says that we can change the permission of both file & directory, but I'm unable to do that.
Well..... the command I used for this is,
# chmod 777 filename - this works # chmod 777 dirname - this don't work ( why is it so )
Where I'm going wrong?
Perhaps the directory is not owned by you ?
HTH,
Rajesh