Help with file permissions

I'm having trouble with file permissions.  I created a new user and I'm able to use ftp with that new user, but when the new user tries to save a file it says 550 Permission Denied.  The directory I tried to write to has ownership sample:sample, so I tried:

pw usermod newuser -G sample

But I'm still getting the Permission Denied error.

Any help would be greatly appreciated, and be gentle ... I'm not very good at Linux.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ok, ownership is now OK, but which are the permissions of "sample"?
It must be group-writeable for your method to work!

Issue "chmod g+w sample" and retry.

hrolsonsAuthor Commented:
xxx-xxx-xxx-xxx# chmod g+w sample
chmod: sample: No such file or directory
Sorry, I forgot the "... not very good ..." thing you mentioned in your Q.

Of course you either need to use the full path to the directory in question, or to "cd" into the directory just above it.

And you should use the real name of the directory. I used sample because I don't know the name of that directory, obviously.

So if your directory is e.g.


either issue

cd /home/users
chmod g+w sample

or issue

chmod g+w /home/users/sample


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
hrolsonsAuthor Commented:
You Rock!!!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.