PDA

View Full Version : Sub Dir + access


halfelite
4-11-04, 01:05 AM
Ive been trying to figure out a way to give someone ftp access but only to one folder the person is strickly graphics design i dont want him to have access to root folders or script folders only the image folder how would i got about doing this?

thanks
chris

snowmaker
4-11-04, 01:15 AM
In OPS when you create a new FTP user, you can define that users 'home' directory, and any directories above the one you define will not be available to that user.

-bruce

halfelite
4-11-04, 01:24 AM
i added the user in ops then gave them /www/g/x/images

and every time i tried to log in said access denied

snowmaker
4-11-04, 01:34 AM
Let's say your primary FTP username is bob. your root would be /www/b/bob/; your web, or document, root would be /www/b/bob/htdocs/; if you created a directory for your user and named it 'whatever', then that users home directory could be /www/b/bob/htdocs/whatever.

-b

halfelite
4-11-04, 02:44 AM
ok i got it working then i changed the password cause i had it test or something put new info into the ftp prog i use and it gives me
USER [username]
331 User [username] OK. Password required
PASS (hidden)
530 Authentication failed, sorry

and does not work again do i just need to wait longer i verified it and it said pass ok but failed to connect so just wait until the servers match again?

[edit by Croc] removed username

snowmaker
4-11-04, 02:51 AM
Ya, I've noticed that I can't login a newly created FTP user right away, I don't know what the exact 'waiting' period is, but it's been discussed here in the forums before. -b

Croc Hunter
4-11-04, 08:44 AM
Yes. It can take 'time' for the filer app to update the password info. The 'time' varies. Usually, the old username will work until the update occours.