[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /usr/src and file permissions



MK>I've created/moved my /usr/src to its own partition. However, I've
noticed a
MK>difference in the permissions between the old /usr/src (/usr/oldsrc) and
the
MK>new one, /usr/src.
MK>
MK>drwxrwsr-x    4 root     src          1024 Oct 16 00:18 oldsrc
MK>drwxr-xr-x    5 root     root         1024 Nov 14 12:33 src
MK>
MK>Could someone explain the difference? I tried setting chmod g=+r+w+s
MK>/usr/src, but that apparently didn't work.


Hello,

for an half hour I had done this with my Workstation and 700 MBytes...
(asked in debian-usr-de@ifl.de)

I have used this:

mount /dev/hdb1 /mnt
cp -fpR /usr/src/* /mnt
umount /mnt
rm -fR /usr/src/*
rm -fR /usr/src/.*
mount /dev/hdb1 /usr/src

thats all...

In /etc/fstab I have set my  hdb1 like

/dev/hdb1       /usr/src        ext2    defaults        0       2


Michelle

									
Attention:

If you get this Mail from a mailing-list and you answer, please do 
not CC: me, post it only to the list, otherwise I get all twice .

+--------------------------------------------------+           .~.        
| Michelle's Internet Service                      |           /V\        
|                                                  |          // \\       
| Michelle, Andrea-Cinderella Konzack              |         /(   )\      
|     11, rue de Rosheim                           |          ^`~'^       
|     67000 Strasbourg - France                    |
|     Mob. 0033 / (0)6.62.61.78.37                 |     powered by Linux
|                                                  |           ----       
| mailto:starone@cybercable.fr                     |      solutions  for  
| http://www.michelle-is.com/ (currently off-line) |      smart penguins  
+--------------------------------------------------+-------------------------+


Reply to: