em thi` la`m the^' na`y co*


/dev/hda5 /mnt/test smbfs username,password,uid=99,gid=99,dmask=777,fmask=777 0 0


Vo^ Danh wrote:

On 6/15/05, kyanh <[EMAIL PROTECTED]> wrote:
Cha`o ca'c ba'c,

em co' mo^.t partition /dev/hda5 (ext3)

Em muo^'n mount partition na`y va`o thu+ mu.c /mnt/test
sao cho user bi`nh thu+o+`ng (vi' du. xyz) co' the^? ghi va`o /mnt/test

Ca'ch la`m hie^.n ta.i cu?a em, la`m ta.o /mnt/test/xyz va`
chown xyz /mnt/test/xyz

(nghi~a la` xyz chi? co' the^? ghi va`o thu+ mu.c /mnt/test/xyz ma` tho^i --
ko^ the^? ghi va`o /mnt/test)

Chan tha`nh ca'm o+n

ky`anh
Ba'c the^m do`ng na`y vao /etc/fstab

/dev/hda5 /mnt/test ext3 users,umask=0 0 0

la` du+o+.c. Co`n muo^'n nhi`u thu+' ho+n, ba'c go~ `man mount fstab`
la` co' du? cho ba'c.


--
Tran Vu Hung
IP Communications
8 Le Duan, 3rd Floor, ESSO Building
Tel: 08 - 4040123 - Fax: 08 - 4040124
Cell Phone: 090 92 98 996



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
VietLUG-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vietlug-users

Trả lời cho