By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,798 Members | 1,389 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,798 IT Pros & Developers. It's quick & easy.

Give permission to folder/file without giveing ownership

Expert 100+
P: 1,584
This is a totally n00b question but I'm saying good bye to Windows slowly and I've come across where I need to own a directory but I want to give write permission to Smarty (Apache user). Right now I change ownership back and forth. I don't want to give world permissions.

Do i really HAVE to create a group with me and apache in it and give write permission to that group? Is there another way like windows to Select multiple users and give each their own different permissions?

Thanks guys,

Oct 22 '08 #1
Share this Question
Share on Google+
2 Replies

P: 13,262
Have a look at chown and chmod commands. chown changes the file's owner while chmod change the permissions without changing the owner.
Oct 23 '08 #2

Expert 100+
P: 542
There is no way here like windows,
You can create a group(as you thought) and give the write permission to it.

Oct 23 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.