Re: [Proftpd-user] UID/GID and permission denied

Sergei Gerasenko <[email protected]>
Newsgroups gmane.network.proftpd.user
Message-ID <[email protected]>
Hi TJ,

No ACLs. No root squashing. A couple folders work. The majority don’t.

Curiously, when I do `ls -l` on all these folders, the ones that work have 2 for the number of hard links. The others are 3 and higher. Not sure what that’s about.

I’ve tried to put this in the config file:

  TraceLog /path/to/ftpd/trace.log
  Trace auth.file:20
But the trace.log file is empty. I’m trying to reproduce the access situation outside of proftpd. That way I think it’s going to be easier to debug. But if you have tips on how to best debug that within proftpd, that’d be awesome as well.

Thanks much,
  Sergei

> On Aug 1, 2018, at 8:03 PM, TJ Saunders <[email protected]> wrote:
> 
> 
>> I’m using the AuthUserFile and AuthGroupFile to maintain my own list of 
>> users/groups. So the vhost has this config:
>> 
>>  AuthOrder mod_auth_file.c
>>  AuthUserFile /etc/proftpd/ftpd.passwd
>>  AuthGroupFile /etc/proftpd/ftpd.group
>> 
>> I log in with a user whose UID is added to every other group in ftpd.group. 
>> 
>> … and I get permission denied on almost all of them except 3 accounts. 
>> Those 3 accounts don’t seem to be any different.
>> 
>> The data itself resides on an NFS volume.
>> 
>> Any ideas how to debug this?
> 
> Does the NFS server have any UID/GID-based ACLs?  Do you see this "permission denied" only for certain directories on that NFS share, or for any/all paths?  Does it happen when you download/read, or upload/write, or both?
> 
> Cheers,
> TJ
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> ProFTPD Users List   <[email protected]>
> Unsubscribe problems?
> http://www.proftpd.org/list-unsub.html

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
ProFTPD Users List   <[email protected]>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.