hi jschiwal,
Thanks for your answer. Using uid option in the command does help.
So what I have used is as follows
1. mount.cifs //ip/bio /home/my_user_name/bio -o user=myuserID_for_file_system,uid=my_linux_user_ID,rw
The above command mounts the file system in my local directory. It resolves the problem to some extent.
But in this manner I have mount it separately for each user. I have created a group and added three users in the group.
then executed the command :
2. mount.cifs //ip/bio /home/mamun/bio -o user=myuserID_for_file_system, gid = linux_group_ID, rw
In second case I have tried to mount the data in the same location but instead of using uid I have used gid and it does not give
me write permission to sub-directories.
Any idea what can go wrong here using gid ???
Thanks in advance again..
regards,
Mamun
Last edited by mamunbabu2001; 05-18-2010 at 09:43 AM.
|