Question about ownership/permissions
I just installed Linux, and copied some files over from a FAT partition into my home directory. Since only root had permission to do so, I did it as root. But now all the files are owned by root.
I tried using konqueror to set my self as the owner, but it only ever seems to work for 1 level of files/folders, even when I tell it to include all subdirectories. Is there a command that will make every folder and file in my in my /home directory owned by me? Thank you. |
Try chmod 777 <FileORdir>
The 7's stands for all rights for each user. :p |
hi dear
i wanted to mount NTFS partion,how i mount this. thanks bye |
Code:
chown -R user:group directory Same, Code:
chmod -R 644 directory Code:
find directory -type d -exec chmod +x {} \; Code:
/dev/hdb1 /mnt/work vfat auto,umask=0000 0 0 Good luck |
thankyou dear
Above u mention vfat for fat partion,Is there any type is used for NTFS in fstab file.????????????????? mount -t vfat /dev/hda6 /mnt/asim something like this for NTFS,is it possible??????????? thanks bye |
Quote:
Code:
mount -t ntfs /dev/hda6 /mnt/asim |
thank you dear
i try this but it does not work. bye |
to mount ntfs the lazy way, just use auto when mounting:
i.e. mount -t auto /dev/hda6 /mnt/asim if hda6 is your ntfs partition. asim doesn't seem to be a good name for your ntfs mount, and niether is calling the linux faithful here on LQ "dear". However, if it helps your memory, fine. |
All times are GMT -5. The time now is 03:48 AM. |