At 09:01 PM 4/24/02, you wrote: >Brad Felmey wrote: >>On Wed, 2002-04-24 at 05:04, civileme wrote: >> >>>Of course, just make an ~/rpm directory with the subdirectories /BUILD >>>/SOURCES /SPECS /RPMS /SRPMS, and >>> >>>rpm -ivh samba-<version>.src.rpm >>> >>>in an xterm or console AS USER. >>> >>>Then look in the ~/rpm directory and you will see how it was built. The >>>.spec file should answer your question in most cases. >> >>[bfelmey]$ rpm -ivh kernel-2.4.18.7mdk-1-1mdk.src.rpm >>error: cannot write to %sourcedir /usr/src/RPM/SOURCES > >Check your perms on %sourcedir, and if needed do a chmod > >BTW did you ever imgagine that you would be so famous, Charles? > >Dr John
If I remember correctly, directories usually have rwxr-xr-x (755) permissions. The 'r' (read) permission allows programs to be read and run from the directory and the 'x' (execute) permission allows commands like 'ls' to read through the directory. For example, [user@machine dir]$ ls -ld test drwxr-xr-- 2 root root 1024 Apr 24 21:20 test [user@machine dir]$ ls -l test ls: test/a: Permission denied ls: test/b: Permission denied
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com