FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 10-03-2011, 03:22 AM
Rajeev Prasad
 
Default 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
 
Old 10-03-2011, 04:20 AM
Craig White
 
Default 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
 
Old 10-03-2011, 06:13 AM
Rajeev Prasad
 
Default 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
 
Old 10-03-2011, 08:30 AM
Koh Choon Lin
 
Default 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
 
Old 10-03-2011, 01:14 PM
Knute Johnson
 
Default 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
 
Old 10-03-2011, 01:18 PM
Boris Aelen
 
Default 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
 

Thread Tools




All times are GMT. The time now is 03:28 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org