Unmouting CD roms, and Getting permisssion to access slave drive.
Posted 17 July 2004 - 01:22 AM
but unmount isnt a commnand, how do i unmount?
And I have a secondary hard drive but it says "access denied" when i try to put stuff on it.
Learning pretty quicky here, just got my first game installed today
Castle Wolfenstein still working on UT 2004 though :P
Posted 17 July 2004 - 02:55 AM
To unmount a drive/partition, the command is;
Not unmount. This is a common mistake.
Assuming the second hard drive is recognized correctly. Get into filemanager as superuser mode and you should not have any trouble.
Depending on how konqueror or whatever is set up (different distros set it up differently) you can write in normal file manager mode. In others, you need to use superuser filemanager to move and write files.
Posted 17 July 2004 - 05:47 AM
chmod 777 -R /mnt/usbstick [enter]
The -R is to also give user permisions not only to /mnt/sbstick, but to all the files and programs that are on that drive.
Posted 17 July 2004 - 07:19 AM
Presuming it is a file system of some sort, you would have to change the permissions again if, after putting what you want to on it, you wanted it re-restricted. To change the permissions where the file system can be read, and not written to, as root do:
chmod 444 -R /Oneniisama [enter]
Now, all folders in /Oneniisama can be read, but not written to.
I would think though, it would be more convenient for the owner, (you), to be able to write to it and no one else, in which case you would substitute the 444 with 644.
To get more familiar with Linux permissions, this page will be helpful.
Posted 17 July 2004 - 08:57 AM
[quote]What the heck is Oneniisama and how does it work??
Thats the name and mount point of my slave hard drive in my system. Just as linux is mounted on / , the secondary hard drive is mounted on /Oneniisama
I think the 444 will be best for its purpose, its where I store all data backups, Its a 1 user system, and I think the read only will be usefull in protecting the data from being delete or overwritten
Thanks for the help, I'll check that page out
Posted 17 July 2004 - 11:43 AM
Most linux distros have a konqueror superuser mode via the start menu that can be accessed as user, if you know the root password. Other distros don't have this option apparent, but you can make an icon that prompts the user for the root password. This way root permissions remain intact for the directory and available only to the users who have the root password.
Otherwise, Dapper Dan's suggestions for setting permissions, depending on what you want to do.