Thread: Can't share mounted ntfs disk on network
i have samba installed. have windows ntfs disk mounted on ubuntu. share file, migrate folder file manager, right click on , select "sharing options". message
'net usershare' returned error 255: net usershare add:
cannot share path /mnt/windisk/<path> restricted sharing directories own. ask administrator add line "usershare owner = false" [global] section of smb.conf allow this.
disk mounted system line
/dev/sda2 /mnt/windisk ntfs-3g defaults 0 0
in fstab.
here's i've tried:
=========================
adding line fstab , rebooting not solve problem. still error 255, without advice.
changing ownership not help. tried
sudo chown -v root:sambashare /mnt/windisk/<path>
and
sudo chown -v mylogin:sambashare /mnt/windisk/<path>
changed ownership of `/mnt/windisk/<path>' mylogin:sambashare
chown confirms change, right clicking on file, properties tab still shows root owns file, , still error 255.
there's 2 ways fix this, 1 of offered in best written error message in of computing'net usershare' returned error 255: net usershare add:
cannot share path /mnt/windisk/<path> restricted sharing directories own. ask administrator add line "usershare owner = false" [global] section of smb.conf allow this.
when added:
did without quotes?code:usershare owner = false
, did save smb.conf , restart samba daemon:
code:sudo service smbd restart
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Desktop Environments [lubuntu] Can't share mounted ntfs disk on network
Ubuntu
Comments
Post a Comment