Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Ubuntu User (http://www.linux-archive.org/ubuntu-user/)
-   -   folder permission help (http://www.linux-archive.org/ubuntu-user/582814-folder-permission-help.html)

Rajeev Prasad 10-03-2011 03:22 AM

folder permission help
 
Hi,

please help understand what this means and how can folder be set to permissions like below:

drwxrwsr-x* 2 user1 www-pub 4096 2011-10-02 05:34 data_folder

thx,.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Craig White 10-03-2011 04:20 AM

folder permission help
 
On Sun, 2011-10-02 at 20:22 -0700, Rajeev Prasad wrote:
> Hi,
>
> please help understand what this means and how can folder be set to permissions like below:
>
> drwxrwsr-x 2 user1 www-pub 4096 2011-10-02 05:34 data_folder
----
chmod 2775 data_folder
chown user1:www-pub data_folder

man chown
man chmod

Craig


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Rajeev Prasad 10-03-2011 06:13 AM

folder permission help
 
ty Craig. i am pressed for time. tx a lot !!!!



----- Original Message -----
From: Craig White <craigwhite@azapple.com>
To: ubuntu-users@lists.ubuntu.com
Cc:
Sent: Sunday, October 2, 2011 11:20 PM
Subject: Re: folder permission help

On Sun, 2011-10-02 at 20:22 -0700, Rajeev Prasad wrote:
> Hi,
>
> please help understand what this means and how can folder be set to permissions like below:
>
> drwxrwsr-x* 2 user1 www-pub 4096 2011-10-02 05:34 data_folder
----
chmod 2775 data_folder
chown user1:www-pub data_folder

man chown
man chmod

Craig


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Koh Choon Lin 10-03-2011 08:30 AM

folder permission help
 
Hi

>> please help understand what this means and how can folder be set to permissions like below:
>>
>> drwxrwsr-x* 2 user1 www-pub 4096 2011-10-02 05:34 data_folder
> ----
> chmod 2775 data_folder
> chown user1:www-pub data_folder

You may need to use sudo if you do not have the necessary permission
to do so, eg. if user1 is root.


--
Regards
Koh Choon Lin

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Knute Johnson 10-03-2011 01:14 PM

folder permission help
 
On 10/2/2011 9:20 PM, Craig White wrote:

On Sun, 2011-10-02 at 20:22 -0700, Rajeev Prasad wrote:

Hi,

please help understand what this means and how can folder be set to permissions like below:

drwxrwsr-x 2 user1 www-pub 4096 2011-10-02 05:34 data_folder

----
chmod 2775 data_folder

^

What does the 2 mean?

Thanks,

--

Knute Johnson

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Boris Aelen 10-03-2011 01:18 PM

folder permission help
 
Set Group ID.
http://en.wikipedia.org/wiki/Setuid

2011/10/3 Knute Johnson <ubuntu@knutejohnson.com>


On 10/2/2011 9:20 PM, Craig White wrote:


On Sun, 2011-10-02 at 20:22 -0700, Rajeev Prasad wrote:


Hi,



please help understand what this means and how can folder be set to permissions like below:



drwxrwsr-x *2 user1 www-pub 4096 2011-10-02 05:34 data_folder


----

chmod 2775 data_folder


* * * *^



What does the 2 mean?



Thanks,



--



Knute Johnson



--

ubuntu-users mailing list

ubuntu-users@lists.ubuntu.com

Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


All times are GMT. The time now is 05:14 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.