Debian :: Terminal Command - Setting Permissions For Directory

Jul 15, 2011

I have a directory '/usr/local/games/quake4'. I want permissions for the directory, along with everything in it set to:
Owner: Create and delete files
Group: Access files
Others: Access files
What would I type in terminal to make this happen?

View 14 Replies


ADVERTISEMENT

Ubuntu :: When Setting Up NFS What Type Of File And Directory Permissions - Familiar With?

Jul 23, 2010

When setting up NFS what type of Linux file and directory permissions should you be familiar with?

View 1 Replies View Related

General :: Setting Read Permissions Of A Directory For Root User Only?

Mar 21, 2010

I'm using ubuntu 9.10. I used the command:

root@aduait-laptop:~# sudo chown -R root:root /media/104B-FF96/Private to set the permissions of Private folder for root but it is giving error:

Code:
root@aduait-laptop:~# sudo chown -R root:root /media/104B-FF96/Private
chown: changing ownership of `/media/104B-FF96/Private/5.jpg': Operation not permitted
chown: changing ownership of `/media/104B-FF96/Private/6.jpg': Operation not permitted
chown: changing ownership of `/media/104B-FF96/Private/7.jpg': Operation not permitted

[Code].....

View 5 Replies View Related

General :: Setting Permissions For UGO In One Command?

May 20, 2011

'the command I would use to change the group permission to write and the user and other to read and execute for the file "generate-report"' Sounds simple enough but I cant get it to work at all, tried doing a search in google and on the forums here to no avail. Is it possible to do in one command or will I need two?

Ive tried:

chmod g+w, uo+rx generate-report

And numerous other variants all with no luck.

View 3 Replies View Related

Fedora Servers :: Command Can Run In Terminal To Help Assign Permissions?

Jan 4, 2009

Im running samba on fedora core 7, im abit new to the server part of fedora, i set up samba and it runs well, only issue i have now is resolving permissions( User Rights)i have a shared folder which has alot of files and many subfolders in it, the files and folders in this shared foldr were copied from our old Novell Server through samba, i need to assign permissions to this folder where by a defined usergroup can have full read and write permissions to all the files and folders and sub-folders in the shared folder. i tried doing it in GUI but i realized there were over 1000 subfolders.is there a command i can run in the Terminal to help me assign the permissions?

View 1 Replies View Related

Fedora :: Setting Default Browser From Terminal Command?

Jul 23, 2011

Anybody know the names for the config for trying to set the default browser in Fedora KDE (from Konqueror to Opera ) ...

Code:

update-alternatives --config (name)

this may be for debian distros only ?

[URL]

i.e what are the group names ?

View 6 Replies View Related

Ubuntu :: Finding A Terminal Command Or Setting To Reset The Panel?

Sep 3, 2010

I was doing some coding for school and i accidentally hit the button on my laptop to turn off the touchpad and everything started to bog down and slowly crawl or not do anything. So I reset the machine and the panel is completely backwards now. It still works fine but i would like it the original way. Is there a terminal command or setting i need to reset the panel?

View 1 Replies View Related

Debian Configuration :: Setting Permissions For USB Device On Boot?

Mar 23, 2011

I am trying to figure out what needs to be done to automatically set read/write permissions for everyone for my proprietary USB device on system boot. I have created a udev rules file which changes the permissions for the device when it is connected, but it does not change the permissions when the system is booted with the device already connected. The file looks like this:

SUBSYSTEM=="usb_device", SYSFS{idVendor}=="our vendor id", MODE="0666"

Does something else need to be added to the rules file to make it work when the system boots with the device connected? Is there some other script which needs to be created somewhere?

View 1 Replies View Related

Debian :: Permissions For Anonymous Ftp Directory?

Aug 9, 2010

I set up an FTP server with two separate directories. One of them is mine, and the other one is shared (for anonymous ftp). The layout is like this.

/home/hallvor <---- this is my ftp directory where I keep my private files. I am the only user.
/home/ftp <---- this is the shared ftp directory with anonymous login.

Whenever I transfer files from my ftp directory to the public /home/ftp, I would like to: prevent anonymous users from deleting files in /home/ftp or uploading their own files to that directory (read only) What permissions must I set? I think this is all a bit confusing. I tried to chmod /home/ftp to 644 and change ownership to root, but that made it impossible to even log on anonymously.

View 8 Replies View Related

Debian :: Recovering Deleted Directory In Terminal

Feb 21, 2015

I deleted by mistake my /www/ directory in terminal with rm -rf command. Is there a chance to get it back? I tried with TestDisk but I can't find it.

View 7 Replies View Related

Debian Hardware :: Setting Up Serial Port - Command Not Found

Jun 23, 2014

I am a ham radio operator and I want to use my computer to run "RTTY", "PSK31", and other digital modes. Therefore I have to be able to configure the serial port.

I only have the onboard port (ttyS0).

I can get info about the port by using "$ dmesg | grep tty"

Code: Select alldebian@melsdeb:~$ dmesg | grep tty
[    0.000000] console [tty0] enabled
[    1.533804] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    1.534337] 00:06: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A

But when I try to use "setserial" by itself or with any parameters I get this...

Code: Select alldebian@melsdeb:~$ setserial -g /dev/ttyS0
bash: setserial: command not found

Even "man setserial" gives the same result.

I am using Debian 6

View 2 Replies View Related

Debian :: How To Run Execute Command In Terminal

May 4, 2010

i have one executable file (filename : "tet"). i can run this command in other linux os like: "fedora, cent os" using command "./tet", and it's working fine. but this command not working in debian. i don't know how to execute this file.

1. i have tried with 755 and 777 permission
2. i have tried "home/fullpath/tet"
3. i have tried "/tet"
4. i have tried "./home/fullpath/tet"

but above all commands are failed. to run this execute file

View 10 Replies View Related

Debian :: How To Use The Terminal Command Line?

Apr 28, 2010

direct me to a good beginner's guide to Debian? Or explain some things briefly. Where can I learn how to use the Terminal Command Line? How do you add programs to Debian and what all is supported? What are packages in Debian and what can they do? Installing programs is different as expected. I tried installing Firefox, I downloaded it and extracted it into my home directory. I can run it with the Terminal Command: ~/firefox/firefox [When in the home directory] and it works. Is that how it is intended to work? Just random thing there. I guess in a sense, I just really want to learn about every aspect of Debian Linux in a user-friendly type environment.

View 3 Replies View Related

Debian :: Terminal Command To Lock The Screen?

May 9, 2011

Is there a terminal command to lock the screen? I am using GNOME if that matters

View 3 Replies View Related

Debian Multimedia :: Command In The Terminal Can't Find Anything?

Aug 11, 2010

I just decided I'd give Google Chrome a try. Installed it via the google repository and it went fine.

However, every now and then it just vanishes from my menu and it can't be found again, also the command in the terminal can't find anything.

So, what's left is to reinstall it, and during reinstall it doesn't even whine about already being installed.

Anybody else with this matter? I am running 64-bit Squeeze.

View 11 Replies View Related

Debian Programming :: Command Followed By And Still Closes With Terminal?

Jan 4, 2014

Running debian wheezy. I noticed recently, whenever I fork a process using "&" from a terminal, such as

Code: Select allleafpad &

it starts up, shows the processid in the terminal, but every time when I close the terminal, leafpad gets killed. However, I create a simple bash script,

Code: Select all#!/bin/bash
leafpad&
exit

The script launches leafpad, then exits out leaving leafpad running, as it should. Is what I mentioned above normal? I'm confused, because I think I used to be able to do this in terminal without it depending on the terminal to stay running.

I guess I'm remembering wrong. As it turns out, commands begun on terminal get closed with terminal unless, as mentioned, you use nohup or start subshell. Process hierarchy and tracking etc.

View 6 Replies View Related

Debian :: Terminal Command To Tell What Graphics Driver Is Being Used

Nov 18, 2010

What command can I enter to find out what graphics driver my laptop is using? (Ubuntu)

View 9 Replies View Related

Debian :: Change A Terminal Bkgnd By Command Line?

Feb 9, 2011

I'm sure it's possible, but I haven't found an elegant way to do it. I can't just use the GUI since I want to integrate this line of code into a greater shell script for this project.

My preferred terminal is terminator, but it doesn't really matter at this point.

View 5 Replies View Related

Debian :: Reapply Terminal Command To Already Opened Xterm

Aug 31, 2015

Is there a way to send a terminal command to an already opened xterm terminal

View 4 Replies View Related

Debian :: (Deb)boots To The Terminal Mode - Command - Get To Desktop?

Jul 1, 2010

This is after months of Mint, which is limited. One problem. It (Deb)boots to the terminal mode. uh... call me stupid, but I have no idea how to get to my desktop. Never needed that command once in my life. I can't find the answer anywhere. Typical. The most basic info is always overlooked. Whats the command line to get to the desktop so I can reconfig this?

View 14 Replies View Related

Debian Multimedia :: Completion For Command Parameters In Gnome-terminal?

Aug 14, 2011

Out of X I have auto-completion for a command parameter (e.g. 'aptitude upd(ate)') but in gnome-terminal I have auto-completion only for the command, not for its parameters. Is it possible to have that?

View 1 Replies View Related

Debian Installation :: No Network-Manager - Pull Up The Terminal And Enter A Command To Start?

Sep 1, 2011

I downloaded Debian Stable last night, and everything appear to go smoothly. Today, I booted up the new OS to try it out for the first time. As I was exploring a few of the features, I decided to pull up a web browser. No internet connection.

No big deal, I thought, as I searched around for a way to connect wirelessly. I couldn't find a way to do so. I consulted one of my more Linux savvy friends, who advised me to pull up the terminal and enter a command to start the network-manager. According to the terminal, no such file currently exists on my system.

This is a bit of a conundrum for me, since I am on my university campus with no ethernet cord to attempt a direct connection. Is there any way to get the network-manager onto my computer? Also, did I mess up somewhere in the installation, or did someone not package the file with CD1 for some unknown reason?

View 14 Replies View Related

Ubuntu :: Setting Up FTP With Permissions?

Dec 29, 2010

I recently got an old computer to use as a server and I have a whole list of things I want to do on it, but I'm having difficulties.When I installed the server, I installed AMP, FTP, Samba, CUPS, and some other items. I made a user account called 'nessdan' which (currently!) is in these groups:

www-data adm dialout cdrom plugdev lpadmin sambashare admin

The www-data group was added because I wanted to FTP my site files into '/var/www/' . Okay, that ended up working out for me. This is where things got sticky. I installed PHPMyAdmin and the files went to '/usr/share/phpmyadmin/' . I wanted to install a new theme so I downloaded it onto my Laptop, then logged in via FTP but couldn't transfer files into there! It turns out the folder was owned by 'root' and was in the group 'root'. The only thing I could come up with was to change that folders permissions so the owner was 'nessdan' and the group 'admin'. I was going to do that to the entire /usr/share/ folder but I didn't know whether or not I should be changing the permissions in the first place.

But the the trend continues! I have my print server setup and working but I wanted the server to hold the Windows drivers, so I went to '/var/lib/samba/' to do some work but noticed that a lot of the files' permissions were locked down to read only and the owner and group were 'root' . I ended up doing a 'chmod 775' and changing the owner and group to 'nessdan' and 'admin', respectively. Well I transfered over the files but now the service nmbd isn't working. The good news is, I expected to mess something up along the way and had already planned on reinstalling Ubuntu Server 10.10. I've only had the server for 4 days now and I knew from the beginning I'd be wiping it clean. I want to know how to set this thing up proper and the biggest problem is getting access into folders so I can FTP into them.When I do wipe my PC clean and start anew, how should I go about the changes that I did before (PHPMyAdmin, Samba Driver Folder)?

View 2 Replies View Related

General :: Setting Permissions On Unzip?

Apr 2, 2010

I wanted to assign ownership of my choice to my zip file while unzipping so I am using the command:

unzip yourfile.zip|awk -F": " '{print $2}' | xargs chown user.group

I also want to give 705 permissions to all directories and 777 to all files on unzipping?

View 3 Replies View Related

Ubuntu :: Setting Permissions On A Partition

Nov 29, 2010

I have just formatted a partition that had contained a windows OS, it is now formatted to ext4 and is dev/sda1 dev/sda2 contains my Ubuntu OS and all files although the empty partition shows up in Nautilus I cannot write to it as it is owned by root.I have done some research on changing the permissions on this, but am none the wiser!!

Enabling the root account is rarely necessary. Almost everything you need to do as administrator of an Ubuntu system can be done via sudo or gksudo. If you really need a persistent root login, the best alternative is to simulate a root login shell using the following command.I cannot find gksudo and do not know what commands to use in the terminal to achieve my goal. I am in totally unfamiliar territory here, and need some fairly simple explanation and guidance to be able to claim my empty partition so I can read from and write to it.

View 7 Replies View Related

Red Hat / Fedora :: Setting Group Permissions?

Feb 27, 2010

i am trying to finish up a lab in that i have i have some accounts created under groups called "mgmt" and "pl". I am trying to figure out how i can get the guys in "mgmt" to be able to modify files in a directory called "mgmt-final" but the guys in the group "pl" will only be allowed to read those files.

View 5 Replies View Related

General :: Freenas Setting Up Permissions

May 29, 2010

I have set up freenas with 3 1tb hard drives. I have set up the SMB shares for the drives and can view each shared drive from each of the machines on my network. I can copy files from the hard drives, on the freenas but when I try to copy a file to the Freenas hard drives I get a message that I need permission to do this. I have all my shares set as anonymous how do I change the permissions so that I can save files to the drives.

View 1 Replies View Related

Security :: Setting Permissions On Different Groups?

Nov 26, 2010

We are a school and we share a samba folder with students and teacher groups. What we are trying to do is:

- Give students group users the permissions to rwx own files in folder

- Students must not be able to do anything with others files. I mean nothing so, at most, they could see the files in folder but not read it.

- Teachers can do anything with files in folder

As you can imagine, the idea is that students deliver their exams in that folder without the ability to read/copy the other students files. With sticky bit we can restrict students permissions to their own files, that is ok, but how to restrict all the permissions on other students files without restricting student access to that folder?

View 1 Replies View Related

Red Hat :: Setting Permissions On Usb Ports In CentOS 5.4?

Feb 24, 2010

I am running VirtualBox on CentOS 5.4 & am not able to connect the usb ports to the guest operating systems. When I click on the device menu & usb, the devices I have plugged in show up, but are greyed out. I had this problem on Mandriva when I first started using VirtualBox & had to put my user account in the USB group. My account is in the vboxusers group but there is no USB group on CentOS & I can't figure out how to give myself permission to the USB ports.

View 6 Replies View Related

OpenSUSE :: 10.3 - Setting Permissions On Folder / Subfolders

Mar 18, 2010

I'm running OpenSuse 10.3 and I've tried to set permissions on my folder and subfolders from root:root to wwwrun:www. In the shell it shows all folders and files with the correct permissions, but in the GUI it still says root:root and so my web application can't write to it, until I manually set the subfolders permission in the GUI.

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved