System info
QuoteDisplay More
$ dpkg -l | grep openmediavault
ii openmediavault 6.0.39-1 all openmediavault - The open network attached storage solution
ii openmediavault-flashmemory 6.2 all folder2ram plugin for openmediavault
ii openmediavault-keyring 1.0 all GnuPG archive keys of the OpenMediaVault archive
ii openmediavault-omvextrasorg 6.1.1 all OMV-Extras.org Package Repositories for OpenMediaVault
Hi
I have an external usb drive formatted with fat32 for which I have created an smb share, with a view to being able to access from windows and linux.
From a linux system I mount the drive with a command like:
sudo mount -v -t cifs -o vers=3.0,user=<username> //<omvipaddress>/transcendroot /mnt/transcend
All seems to work except I am having problems with permissions and am strugging to understand how the access works.
I notice that with fat32 the 'user' is always root (presumably because fat32 does not support user permissions). As such when ever I copy or create directories on the disk from a linux machine I must use sudo and the resultant files/directories are all root.
Also, however, the permissions on the files/directories are all drwxr-xr-x (even if I create a directopry owned as root and chmoded to 777 on the linux box before copying). Attempting to change the permissions in a 'nix way by using chown has no effect.
This means I am unable to cretate directories with write access for a user. I have set the smb shared folder permissions for <username> to be read/write. but this does not seem to make any difference.
Does anyone know what is happening as regards permissions/access here ?
Does anyone know how I can set things up so a directory has write access for all users on an smb share ?
Do I have to set some special settings in smb to get (non-root) writable directories ?