I have a windows partition which I Can easily access via nautilus gui.Without manually mounting the partition.When I click on the hard disk icon it automatically gets mounted at /media.
Here is my /etc/fstab fileCode:sudo fdisk -l Disk /dev/sda: 320.1 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x711e302a Device Boot Start End Blocks Id System /dev/sda1 * 2048 206847 102400 7 HPFS/NTFS/exFAT /dev/sda2 206848 163839999 81816576 7 HPFS/NTFS/exFAT /dev/sda3 163840000 368639999 102400000 7 HPFS/NTFS/exFAT /dev/sda4 368640000 625139711 128249856 f W95 Ext'd (LBA) /dev/sda5 368642048 625139711 128248832 7 HPFS/NTFS/exFAT
and following are entries of smb.confCode:# <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc nodev,noexec,nosuid 0 0 /host/ubuntu/disks/root.disk / ext4 loop,errors=remount-ro 0 1 /host/ubuntu/disks/swap.disk none swap loop,sw 0 0 ~
The client machine tried to connect but it failed to mount the Windows partition from the server.Code:[hell] comment = Winows files read only = yes locking = no browseable = yes path = /media/New\ Volume guest ok = yes public = yes
Upon digging a further I noticed the permissions of volume in /media for others and group are 00
The permissions I see are
So assuming that samba client process does not have read permissions to above I tried to change the permissions at server.Code:deel@ubuntu:/media$ ls -l total 16 drwx------ 1 deel deel 16384 2011-11-16 10:33 New Volume
But now they did not changedCode:deel@ubuntu:/media$ sudo chmod 755 New\ Volume/
If you notice in above even after changing permissions the permissions have not changed. What could be the reason and how can I share the windows partition on samba server to my network?Code:deel@ubuntu:/media$ ls -l total 16 drwx------ 1 deel deel 16384 2011-11-16 10:33 New Volume



Adv Reply



Bookmarks