473,320 Members | 1,828 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Give permission to folder/file without giveing ownership

dlite922
1,584 Expert 1GB
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,



Dan
Oct 22 '08 #1
2 5393
r035198x
13,262 8TB
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
ashitpro
542 Expert 512MB
There is no way here like windows,
You can create a group(as you thought) and give the write permission to it.

Regards,
Ash
Oct 23 '08 #3

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

Similar topics

2
by: Aienthiwan | last post by:
Ok - this one's a baffling one. I have a Python script run in cgi, it accesses a directory... /var/foo. The permissions on /var/foo are 770 with an ownership of mark:dbtest. The permissions...
11
by: Richard Muller | last post by:
Hi, I new to ASP. I have a problem with an ASP script opening a file for writing on my server. Here's how I got to this error: I downloaded a neat FileUpload ASP example from...
3
by: andrea kampa | last post by:
Hi all, I'm a Win2000 professional user - sP 4. I can't delete some folders in e:\inetpub\wwwroot\...\. I've created them by FrontPage2000 SR1. I enter Windows as Administrator, then I should be...
12
by: Russ | last post by:
Hello. My new dev machine is running XP Pro. In the past all equipment has only used Windows 2000. I have had a lot of problems getting my projects up and running on the new machine. The current...
9
by: TPS | last post by:
I have a virtual directory where all posted files are stored. The ASP app does not have rights to the share on the other server where the vir dir resides. What is the best way to give the asp...
2
by: Jeremy | last post by:
I am writing a little appliation. One process I want to do is to copy a folder to a different location, delete the contents of the original folder, and fill the original location with new files....
2
by: Bill Fallon | last post by:
I have a VS2005 VB.Net windows form application deployed to a share drive. The windows explorer security permissions for this application (.exe) file is set for Everyone with List Folder/Read Data...
3
by: Ethan Strauss | last post by:
Hi, I have a C#.Net 2.0 web app which needs to be able to read a bunch of files from a user's computer, but I have not be able to get it to do so without "Access denied" errors. The main piece of...
4
by: jamesnkk | last post by:
Hello, I am a newbie in Linux. My company have a tester machine installed with Suse 10 samba. I have set the IP address of the Linux machine to connect into the Windows 2003 server. So from my...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.