Help with mounted drive wriite permissions.

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Help with mounted drive wriite permissions.

Postby Musad » Sun Jun 03, 2012 4:22 pm

I can read the content on my PC but cannot write, I get “Access is denied”.

I have auto mount installed and enabled.
I connect an external drive that is formatted to NTFS and has data already on it that I want to share on the network.
It auto mounts to /media.

I use Samba to share the content..

$this->bbcode_second_pass_code('', '[public]
path = /media/My_Book/
public = yes
only guest = yes
writable = yes
printable = no ')


Info from mount command..

$this->bbcode_second_pass_code('', '[root@alarm media]# mount
/dev/root on / type ext2 (rw,relatime,errors=continue)
devtmpfs on /dev type devtmpfs (rw,relatime,size=126652k,nr_inodes=31663,mode=755)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620)
shm on /dev/shm type tmpfs (rw,nosuid,nodev,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
/dev/sdb1 on /media/My_Book type fuseblk (rw,nosuid,nodev,noatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)')

Any help would be appreciated..
Musad
 
Posts: 3
Joined: Sun Jun 03, 2012 4:14 pm

Re: Help with mounted drive wriite permissions.

Postby bob8889 » Mon Jun 04, 2012 2:16 am

Per the Samba guide at:
http://archlinuxarm.org/support/guides/ ... ions/samba

The setting for the drive are:
[public]
path = /media/My_Book/
read only = no
public = yes
writable = yes
force user = root

I've used these settings and they work great.
bob8889
 
Posts: 16
Joined: Mon Jul 11, 2011 12:43 am

Re: Help with mounted drive wriite permissions.

Postby Musad » Mon Jun 04, 2012 1:54 pm

Thank you Bob, that worked..

I was thinking that it was a mount problem I was having and did not even think it could be the samba configuration.

Thank you again.
Musad
 
Posts: 3
Joined: Sun Jun 03, 2012 4:14 pm


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 16 guests