prueba con-> /dev/hda1 /mnt/winchoto vfat rw,users,umask=0111 0 0
Gonzalo Rivero escribió:
buenas... tengo varios problemas con ¿permisos? a ver si alguien me puede orientar: a) quiero que cualquier usuario pueda escribir en una particion de win, y no quiero que los 'ls' salgan todos verdes (o sea, marcados como ejecutables), la linea en mi /etc/fstab es así: /dev/hda1 /mnt/winchoto vfat auto,users,showexec,umask=022 0 0 pero no puedo escribir nada cuando queda montada en el inicio, si intento desmontar y montar de nuevo como un usuario comun puedo escribir perfectamente ¿alguna idea? b) para grabar cd con el cdrecord tampoco me deja, le dije al dpkg-reconfigure que si instale como suid y todo eso pero no me deja, les muestro una salida como usuario comun y como root para que alguien pueda sacar algo en limpio porque a mi me supera [EMAIL PROTECTED]:~$ cdrecord dev=/dev/hdd blank=fast -v -eject Cdrecord-Clone 2.01a18 (i686-pc-linux-gnu) Copyright (C) 1995-2003 Jörg Schilling TOC Type: 1 = CD-ROM scsidev: '/dev/hdd' devname: '/dev/hdd' scsibus: -2 target: -2 lun: -2 Warning: Open by 'devname' is unintentional and not supported. Linux sg driver version: 3.5.27 Using libscg version 'schily-0.7' SCSI buffer size: 64512 atapi: 1 Device type : Removable CD-ROM Version : 0 Response Format: 1 Vendor_info : ' ' Identifikation : '48X12X50 CD-RW ' Revision : '1.04' Device seems to be: Generic mmc CD-RW. Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr). Driver flags : MMC-2 SWABAUDIO BURNFREE FORCESPEED Supported modes: cdrecord.mmap: Operation not permitted. prevent/allow medium removal: scsi sendcmd: no error CDB: 1E 00 00 00 01 00 status: 0x0 (GOOD STATUS) cmd finished after 0.000s timeout 40s Current Secsize: 2048 ATIP info from disk: Indicated writing power: 5 Reference speed: 2 Is not unrestricted Is erasable ATIP start of lead in: -11635 (97:26/65) ATIP start of lead out: 337350 (75:00/00) 1T speed low: 0 (reserved val 0) 1T speed high: 4 power mult factor: 4 6 recommended erase/write power: 3 A1 values: 02 4C B0 A2 values: 00 00 00 Disk type: Phase change Manuf. index: 3 Manufacturer: CMC Magnetics Corporation cdrecord.mmap: Cannot init drive. [EMAIL PROTECTED]:~$ su Password: [EMAIL PROTECTED]:/home/sfish# cdrecord dev=/dev/hdd blank=fast -v -eject Cdrecord-Clone 2.01a18 (i686-pc-linux-gnu) Copyright (C) 1995-2003 Jörg Schilling TOC Type: 1 = CD-ROM scsidev: '/dev/hdd' devname: '/dev/hdd' scsibus: -2 target: -2 lun: -2 Warning: Open by 'devname' is unintentional and not supported. Linux sg driver version: 3.5.27 Using libscg version 'schily-0.7' SCSI buffer size: 64512 atapi: 1 Device type : Removable CD-ROM Version : 0 Response Format: 1 Vendor_info : ' ' Identifikation : '48X12X50 CD-RW ' Revision : '1.04' Device seems to be: Generic mmc CD-RW. Current: 0x000A Profile: 0x0008 Profile: 0x0009 Profile: 0x000A (current) Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr). Driver flags : MMC-2 SWABAUDIO BURNFREE FORCESPEED Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R96R Drive buf size : 1359872 = 1328 KB Current Secsize: 2048 ATIP info from disk: Indicated writing power: 5 Reference speed: 2 Is not unrestricted Is erasable ATIP start of lead in: -11635 (97:26/65) ATIP start of lead out: 337350 (75:00/00) 1T speed low: 0 (reserved val 0) 1T speed high: 4 power mult factor: 4 6 recommended erase/write power: 3 A1 values: 02 4C B0 A2 values: 00 00 00 Disk type: Phase change Manuf. index: 3 Manufacturer: CMC Magnetics Corporation Forcespeed is OFF. Starting to write CD/DVD at speed 4 in real BLANK mode for single session. Last chance to quit, starting real write 0 seconds. Operation starts. Performing OPC... Blanking PMA, TOC, pregap Blanking time: 45.984s la única diferencia que vi es que dice que "cdrecord.mmap: Cannot init drive", los permisos para cdrecord están: [EMAIL PROTECTED]:/home/sfish# ls -lh /usr/bin/cdrecord* -rwsr-xr-x 1 root root 142 2003-09-12 13:17 /usr/bin/cdrecord -rwsr-xr-- 1 root cdrom 335K 2003-09-12 13:17 /usr/bin/cdrecord.mmap -rwsr-xr-- 1 root cdrom 335K 2003-09-12 13:17 /usr/bin/cdrecord.shm y el grupo cdrom dice que si pertenesco a ese grupo: [EMAIL PROTECTED]:/home/sfish# grep cdrom /etc/group cdrom:x:24:sfish,hal ¿ideas?
-- Rober Morales Chaparro http://roberinworld.blogspot.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

