Jump to content

MottS

Members
  • Posts

    1017
  • Joined

  • Last visited

Everything posted by MottS

  1. Don't know what is the permission setting on those cards when one put files on it but that may worth the check. It has to at least be rwx---r-- so that anyone can read it. What about mounting the memory stick with the option 'umask=0'? MottS
  2. No idea here. I don't think you can have different permission in a same Windows partition. Well, one solution (but not exactly what you are looking for) is to create a group of user (let's say GRP). Give those users a full access to your /mnt/win_c partition (something like rwxrwx---). This way, you (your user) will have full access to the /mnt/win_c partition as well as those in the GRP group. You have to be sure they will not delete or play with anything else in /mnt/win_c 'tho. OR, if they know nothing about mount point (they don't know what is in /mnt), create a symlink to /mnt/win_c/stuff in their home directories. This way they'll arrive directly in /mnt/win_c/stuff and know nothing about what is in /mnt/win_c Other than that I'm clueless .. .sorry MotTs
  3. No they can't. This is just like another home folder. Your home folder (in /home) is owned by you and is part of a certain group. So only you and those in this group can access the folder and the sub-folders (if you have rwxrwx---). The same thing applies to my /mnt/Data. It is owned by me (gd) and I'm the only one in the group (user). This is the only way to secure the partition because I can't change the rwxrwxrwx thing because this is a Windows parititon... well, you can but with fstab, not with 'chown' and 'chgrp' You could always remove 'umask=0' .. this way only root can access files on this device. Or, you could put 'umask=0007' to give total access to the user and group member (the first two rwx) and deny all other (the last triple) .. something like rwxrwx---. check here : http://www.mandrakeuser.org/docs/admin/amount2.html#ex now from http://www.informatik.uni-freiburg.de/~mad...TAB-Tuning.html So with the following line in fstab /dev/hda5 /mnt/Datas vfat defaults,umask=0007,quiet,uid=1000,gid=100 0 0 I have: Is this more clear? .. hope so. MOttS
  4. This is the unstable portage tree ... so be prepare to have problems while compile and after while running the prog (KDE or whatever). If you want to compile a stable system, restart from scratch and comment (#) ACCEPT_KEYWORDS. My 2 cents :? MOttS
  5. http://www.mandrakeuser.org/docs/connect/csamba2.html
  6. Yes it is possible. Post your fstab line here .. Or look here: http://www.mandrakeuser.org/docs/connect/c...mba.html#client This will show you what to write in /etc/fstab in order to mount a Windows share in the Linux tree. Then, you can write the 'rw' option to have read and write access to this partition. Hope this helps MOttS
  7. Linux can't change permission on NTFS file system. And FAT file system does not have any permissions. So this is normal. In other words, 'chown' and 'chgrp' doesn't work on Windows file systems. The only way (that I know) you have to limit the access is by mounting the paritition as I showed you. Hope this helps MOttS
  8. MottS

    MP3 player

    Good choice James! You'll like it.
  9. MORE DETAILS: with no UID and GID for /mnt/Datas, Ie: /dev/hda5 /mnt/Datas vfat defaults,umask=0,quiet 0 0 I have when I list (ls) it bash-2.05b# ls -l /mnt/Datas/ total 544 drwxrwxrwx 4 root root 4096 Jun 14 19:28 Distro drwxrwxrwx 6 root root 4096 Mar 14 23:17 Documents drwxrwxrwx 4 root root 4096 Jul 29 18:48 Download drwxrwxrwx 4 root root 4096 Jul 29 18:48 Films -rwxrwxrwx 1 root root 152584 May 14 00:30 M$ Longhorn Cracks.rar drwxrwxrwx 7 root root 4096 Jul 26 17:16 Moto drwxrwxrwx 8 root root 4096 Jul 29 07:18 Musique drwxrwxrwx 11 root root 4096 Mar 8 23:09 Photos drwxrwxrwx 4 root root 4096 Jul 24 21:19 Programmation drwxrwxrwx 6 root root 4096 Mar 24 19:22 VaRiA -rwxrwxrwx 1 root root 362698 Jul 24 17:15 web.zip now let's see.. bash-2.05b# whoami root bash-2.05b# su gd bash-2.05b$ id uid=1000(gd) gid=100(users) groups=100(users),10(wheel) no I wrote uid=1000 and gid=100 in /etc/fstab for /mnt/Datas. Ie /dev/hda5 /mnt/Datas vfat defaults,umask=0,quiet,uid=1000,gid=100 0 0 Then I have bash-2.05b# ls -l /mnt/Datas/ total 544 drwxrwxrwx 4 gd users 4096 Jun 14 19:28 Distro drwxrwxrwx 6 gd users 4096 Mar 14 23:17 Documents drwxrwxrwx 4 gd users 4096 Jul 29 18:48 Download drwxrwxrwx 4 gd users 4096 Jul 29 18:48 Films -rwxrwxrwx 1 gd users 152584 May 14 00:30 M$ Longhorn Cracks.rar drwxrwxrwx 7 gd users 4096 Jul 26 17:16 Moto drwxrwxrwx 8 gd users 4096 Jul 29 07:18 Musique drwxrwxrwx 11 gd users 4096 Mar 8 23:09 Photos drwxrwxrwx 4 gd users 4096 Jul 24 21:19 Programmation drwxrwxrwx 6 gd users 4096 Mar 24 19:22 VaRiA -rwxrwxrwx 1 gd users 362698 Jul 24 17:15 web.zip and /mnt look like bash-2.05b# ls -l /mnt/ total 7 drwxr-xr-x 2 root root 48 Apr 9 14:36 Burner drwxr-xr-x 2 root root 48 Apr 9 14:36 DVD drwxrwxrwx 11 gd users 4096 Dec 31 1969 Datas drwxr-xr-x 2 root root 48 Apr 9 14:36 Floppy drwxr-xr-x 2 root root 48 May 25 15:32 WindowsXP drwx------ 2 root root 72 Jun 27 17:53 cdrom drwx------ 2 root root 72 Jun 27 17:53 floppy So only me (gd) can access /mnt/Datas and those in the users group (only me for the moment according to /etc/group). So this is really secure! MOttS
  10. When the system reads /etc/fstab, it checks for UID and GID to give ownership to a partition. In a console, as your normal user, type 'id' (without the quote) and note the numbers. Then in fstab, write your uid and gid in the options for the partition in question. http://www.mandrakeuser.org/docs/basics/bpermis2.html man mount HTH MOttS
  11. Hi bvc I don't use dial-up at all so that may not worth reading but here we go. Does Debian comes with pre-configured kernels or you have to configure it by yourself? Because I had to configure the kernel about ten times in Gentoo before checking the right option (for pppoe - ADSL) to connect to the net. I know there is not much differences between 2.4.18 and 2.4.21 and the makemenuconfig task can be almost 'routine' for you (and me) but if you did configure the kernel by yourself, it may worth the check ... Other than that .. I'm clueless. My 2 cents.. MOttS
  12. Not bad. The thing is I installed Gentoo in like April and use KDE since then. So KDE suit my needs #1 with this installation with all the icons, KMail, KWrite, Konq with all my favorite etc... So I find it hard to switch to another desktop, find where everything is and configure it for my needs. Right now I'm back in KDE. Will give it another try soon. BTW, when one left click on the desktop, you can chose "Web Browser". Now Mozilla is selected. How do I change it to Firebird? :mystilol:
  13. MottS

    Western Digital

    I have an old (2 years old) WD 30Gig. It turns at 5200RPM. Never had a problem and it is always on. MOttS
  14. MottS

    MP3 player

    My friend uses a NOMAD II and it works #1 on my system. The program to access the files on it is command line based. I didn't find a GUI frontend for it yet. Here it is: http://nomadii.sourceforge.net/ MOttS
  15. Exactly. Don't use the MCC to configure the Shorewall's config file if the machine is a gateway. In those circonstances, you have to configure it manually in /etc/shorewall. Didn't know it was possible with Webmin 'tho.. thanks for sharing it! MOttS
  16. So I'm emerging XFCE4-RC2. Here is what I have to install: bash-2.05b# emerge -p /usr/portage/xfce-base/xfce4/xfce4-3.99.2.ebuild /usr/portage/xfce-base/xfce4-session/xfce4-session-0.1.1.ebuild These are the packages that I would merge, in order: Calculating dependencies ...done! ---[ebuild N ] xfce-base/libxfce4util-3.99.2 = 294 KB ---[ebuild N ] xfce-base/libxfcegui4-3.99.2 = 427 KB ---[ebuild N ] xfce-base/libxfce4mcs-3.99.2 = 315 KB ---[ebuild N ] xfce-base/xfce-mcs-manager-3.99.2 = 418 KB [ebuild N ] gnome-extra/libgsf-1.8.1 = 254 KB [ebuild N ] gnome-base/librsvg-2.2.5 = 220 KB ---[ebuild N ] xfce-base/xfce4-panel-3.99.2 = 1068 KB [ebuild N ] app-text/psutils-1.17 = 60 KB [ebuild N ] app-text/a2ps-4.13b-r5 = 2033 KB ---[ebuild N ] xfce-base/xfprint-3.99.2 = 388 KB [ebuild N ] dev-libs/dbh-1.0.15 = 498 KB ---[ebuild N ] xfce-base/xffm-3.99.2 = 1139 KB ---[ebuild N ] xfce-base/xfwm4-3.99.2 = 717 KB ---[ebuild N ] xfce-base/xfce-mcs-plugins-3.99.2 = 477 KB ---[ebuild N ] xfce-base/xfce-utils-3.99.2 = 687 KB ---[ebuild N ] xfce-base/xfdesktop-3.99.2 = 1931 KB ---[ebuild N ] xfce-base/xfce4-3.99.2 = 0 KB ---[ebuild N ] xfce-base/xfce4-session-0.1.1 = 636 KB I put the size (manually) to the right of the package. As you can see it shouldn't be long to compile.. almost no package with 1MB+. I'll let you know what I think about that.. MOttS
  17. Well, I'm gonna have to wait more. Was it August 3 the date they were supposed to release the final version? Seems it has changed. MOttS
  18. Shorewall is really easy. All the config files are at /etc/shorewall. The only files you really have to cares are rules and maybe policy. The beginning of each file explain what the file is all about. Read it carefully, make the change you have to do and don't forget to restart shorewall (type 'service shorewall restart'). Good luck MOttS
  19. Hi mzuverink Welcome here! Could you give a bit more details about that please? If you want to add a user, open up the Mandrake Control Center (MCC) and clic 'System' and 'User' and clic 'Add a new user' (This is like that on MDK 9.0 at least .. shouldn't be different with MDK 9.1). Then follow the wizard to add a user. You can also open a consol, login as root (su + enter your password) and type 'userdrake'. Then just answer the questions.. HTH MOttS
  20. ok .. you are left in a X environment .. but this is cheap like hell man! Why did you install RealVNC in Mandrake? I suggest you to uninstall this (RealVNC) and install TightVNC. This program works great with MDK I promess... urpme realvnc urpmi tightvnc Then you have to start the server on the MDK box as follow vncserver :1 password [enter your password here] password [enter your password here] Which desktop are you running on MDK? (Gnome, KDE, Flux, ect..) Good luck MOttS
  21. MottS

    Stupid MBR question

    Googling gives some results. Here is one to erase LILO from the mbr http://sdb.suse.de/en/sdb/html/fhassel_dei...stall_lilo.html Good luck! MottS
  22. HI Iceberg-CDK- Welcome aboard! I have a few questions for you regarding your problem with VNC. 1)Are you trying to control it from a browser (http://MandrakeBoxIP:580X) or from the VNC viewer itself? 2)The gray screen you are talking about, does it appear after you entered the password? 3)Are you at least prompt to enter a password from the windows machine? 4)What do you enter in the vncviewer windows to connect to the mandrake box? 5)Are you sure the server is running on the Mandrake box? Here is a nice tut: http://www.tightvnc.com/support.html MOttS
  23. I'm gonna emerge it (KDE 3.1.3) tonight.. ViVa GeNtOo! :P MOttS
  24. I don't think this is possible (not sure 'tho) Yes you have MCC installed. At the console, type mcc MOttS
  25. I use to check this site for compress/decompress command line problem. http://www.ozetechnology.com/howtos/compress.shtml MOttS
×
×
  • Create New...