covici at ccs.covici.com
2015-Dec-29 13:59 UTC
[Samba] permission problems trying to access subdirectories of a samba share
Hi. I am having problems accessing subdirectories on a samba share. I
am using windows 10 build 10586 and linux kernel 4.1.15-gentoo and samba
4.2.7. I have two shares, one called audio and the other called
myshare. I cannot access the subdirectories in the myshare share. Here
are the definitions.
[myshare]
comment = root directory
path = /
#fake oplocks = yes
writable = yes
printable = no
create mask = 0765
[audio]
comment = audio directory
path = /audio
writable = yes
printable = no
create mask = 0765
In windows, I access myshare using the root username and password, in
audio I access using the user name covici and its password. The audio
share works fine, the myshare windows cannot access any subdirectory. I
either get the handle is invalid or a message saying I have permission
problems.
Thanks in advance for any suggestions.
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?
John Covici
covici at ccs.covici.com
Rowland penny
2015-Dec-29 14:41 UTC
[Samba] permission problems trying to access subdirectories of a samba share
On 29/12/15 13:59, covici at ccs.covici.com wrote:> Hi. I am having problems accessing subdirectories on a samba share. I > am using windows 10 build 10586 and linux kernel 4.1.15-gentoo and samba > 4.2.7. I have two shares, one called audio and the other called > myshare. I cannot access the subdirectories in the myshare share. Here > are the definitions. > [myshare] > comment = root directory > path = / > #fake oplocks = yes > writable = yes > printable = no > create mask = 0765 > [audio] > comment = audio directory > path = /audio > writable = yes > printable = no > create mask = 0765 > > In windows, I access myshare using the root username and password, in > audio I access using the user name covici and its password. The audio > share works fine, the myshare windows cannot access any subdirectory. I > either get the handle is invalid or a message saying I have permission > problems. > > Thanks in advance for any suggestions. >Why are you trying to share your entire Unix computer ? By sharing '/' you are giving your users access to the entire directory, do you really want to do this? Rowland
covici at ccs.covici.com
2015-Dec-29 15:44 UTC
[Samba] permission problems trying to access subdirectories of a samba share
Rowland penny <rpenny at samba.org> wrote:> On 29/12/15 13:59, covici at ccs.covici.com wrote: > > Hi. I am having problems accessing subdirectories on a samba share. I > > am using windows 10 build 10586 and linux kernel 4.1.15-gentoo and samba > > 4.2.7. I have two shares, one called audio and the other called > > myshare. I cannot access the subdirectories in the myshare share. Here > > are the definitions. > > [myshare] > > comment = root directory > > path = / > > #fake oplocks = yes > > writable = yes > > printable = no > > create mask = 0765 > > [audio] > > comment = audio directory > > path = /audio > > writable = yes > > printable = no > > create mask = 0765 > > In windows, I access myshare using the root username and password, > > in > > audio I access using the user name covici and its password. The audio > > share works fine, the myshare windows cannot access any subdirectory. I > > either get the handle is invalid or a message saying I have permission > > problems. > > > > Thanks in advance for any suggestions. > > > > Why are you trying to share your entire Unix computer ? > > By sharing '/' you are giving your users access to the entire > directory, do you really want to do this? >My users are just me, and sometimes I need to access from windows. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici at ccs.covici.com
Maybe Matching Threads
- permission problems trying to access subdirectories of a samba share
- permission problems trying to access subdirectories of a samba share
- permission problems trying to access subdirectories of a samba share
- trying to upgrade asterisk and Debian -- not working (John Covici)
- problem with new install with asterisk 15.7.4