Sponsored Content
Full Discussion: Samba & sessionid.tdb
Top Forums UNIX for Dummies Questions & Answers Samba & sessionid.tdb Post 44791 by kduffin on Wednesday 10th of December 2003 09:30:06 PM
Old 12-10-2003
I've not seen this behavior before, but found someone who had. He fixed this by resetting the group and world permissions to allow read and execute access for the directory/usr/local/samba/var (or equivalent given your installation path). Apparently, during installation, access permissions for this directory were apparently restricted to root only.

Cheers,

Keith
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Samba & Win98

At this point I am very frustrated, I have been reading man pages until my eyes bleed. I have set Samba up on a Suse. 7.0 Linux box. I have networked that box to my Win98 box. I have shared a directory. The linux box shows up in Win98 in Network Neighborhood. I can click... (3 Replies)
Discussion started by: Recon
3 Replies

2. Red Hat

SAMBA & Public Folder

Hello folks, I am trying to accomplish the following: 1. Create home folders for each user 2. Create a public folder where all users can access 3. Use Samba as a domain controller. I have successfully completed issue 1. But I can't get the second issue to work. Below is my config file.... (0 Replies)
Discussion started by: behradb
0 Replies

3. UNIX for Dummies Questions & Answers

Problem with xterm & tcsh & sourcing a script in a single command

Hi friends, I have a script that sets the env variable path based on different conditions. Now the new path variable setting should not done in the same terminal or same shell. Only a new terminal or new shell should have the new path env variable set. I am able to do this only as follows: >cd... (1 Reply)
Discussion started by: sowmya005
1 Replies

4. Shell Programming and Scripting

PHP read large string & split in multidimensional arrays & assign fieldnames & write into MYSQL

Hi, I hope the title does not scare people to look into this thread but it describes roughly what I'm trying to do. I need a solution in PHP. I'm a programming beginner, so it might be that the approach to solve this, might be easier to solve with an other approach of someone else, so if you... (0 Replies)
Discussion started by: lowmaster
0 Replies

5. Shell Programming and Scripting

replace & with & xml file

Hello All I have a xml file with many sets of records like this <mytag>mydata</mytag> <tag2>data&</tag2> also same file can be like this <mytag>mydata</mytag> <tag2>data&</tag2> <tag3>data2&amp;data3</tag3> Now i can grep & and replace with &amp; for whole file but it will replace all... (4 Replies)
Discussion started by: lokaish23
4 Replies

6. Shell Programming and Scripting

Replace & sign to &amp word

Hi, I have text file abc.txt. In this file, I have the following data. Input: Mr Smith &amp Mrs Smith Mr Smith &apos Mrs Smith Mr Smith & Mrs Smith Mr Smith& Mrs Smith Mr Smith &Mrs Smith Output: Mr Smith &amp Mrs Smith Mr Smith &apos Mrs Smith Mr Smith &amp Mrs Smith Mr Smith&amp... (4 Replies)
Discussion started by: naveed
4 Replies

7. Shell Programming and Scripting

Sort a the file & refine data column & row format

cat file1.txt field1 "user1": field2:"data-cde" field3:"data-pqr" field4:"data-mno" field1 "user1": field2:"data-dcb" field3:"data-mxz" field4:"data-zul" field1 "user2": field2:"data-cqz" field3:"data-xoq" field4:"data-pos" Now i need to have the date like below. i have just... (7 Replies)
Discussion started by: ckaramsetty
7 Replies

8. UNIX for Dummies Questions & Answers

Samba & Windows7

Hey there, I´m new to unix and unix.com, so thats my first question :) Does anybody know if theres a version of Samba which supports Windows7 without changing the LAN-Manager-Authentification to LM&NTLM-Answers? Hope someone has an answer... greets from Berlin :) (1 Reply)
Discussion started by: Spidi4u
1 Replies

9. Solaris

samba issue: one samba share without password prompting and the others with.

Hi All, I've been trying to configure samba on Solaris 10 to allow me to have one share that is open and writable to all users and have the rest of my shares password protected by a generic account. If I set my security to user, my secured shares work just fine and prompt accordingly, but when... (0 Replies)
Discussion started by: ideal2545
0 Replies

10. Shell Programming and Scripting

SFTP Shell Script Get & Delete && Upload & Delete

Hi All, Do you have any sample script, - auto get file from SFTP remote server and delete file in remove server after downloaded. - only download specify filename - auto upload file from local to SFTP remote server and delete local folder file after uploaded - only upload specify filename ... (3 Replies)
Discussion started by: weesiong
3 Replies
LS(1)							      General Commands Manual							     LS(1)

NAME
ls, lc - list contents of directory SYNOPSIS
ls [ -dlmnpqrstuFQ ] name ... lc [ -dlmnpqrstuFQ ] name ... DESCRIPTION
For each directory argument, ls lists the contents of the directory; for each file argument, ls repeats its name and any other information requested. When no argument is given, the current directory is listed. By default, the output is sorted alphabetically by name. Lc is the same as ls, but sets the -p option and pipes the output through mc(1). There are a number of options: -d If argument is a directory, list it, not its contents. -l List in long format, giving mode (see below), file system type (e.g., for devices, the # code letter that names it; see intro(3)), the instance or subdevice number, owner, group, size in bytes, and time of last modification for each file. -m List the name of the user who most recently modified the file. -n Don't sort the listing. -p Print only the final path element of each file name. -q List the qid (see stat(3)) of each file; the printed fields are in the order path, version, and type. -r Reverse the order of sort. -s Give size in Kbytes for each entry. -t Sort by time modified (latest first) instead of by name. -u Under -t sort by time of last access; under -l print time of last access. -F Add the character / after all directory names and the character * after all executable files. -L Print the character t before each file if it has the temporary flag set, and - otherwise. -Q By default, printed file names are quoted if they contain characters special to rc(1). The -Q flag disables this behavior. The mode printed under the -l option contains 11 characters, interpreted as follows: the first character is d if the entry is a directory; a if the entry is an append-only file; D if the entry is a Unix device; L if the entry is a symbolic link; P if the entry is a named pipe; S if the entry is a socket; - if the entry is a plain file. The next letter is l if the file is exclusive access (one writer or reader at a time). The last 9 characters are interpreted as three sets of three bits each. The first set refers to owner permissions; the next to permissions to others in the same user-group; and the last to all others. Within each set the three characters indicate permission respectively to read, to write, or to execute the file as a program. For a directory, `execute' permission is interpreted to mean permission to search the directory for a specified file. The permissions are indicated as follows: r if the file is readable; w if the file is writable; x if the file is executable; - if none of the above permissions is granted. SOURCE
/src/cmd/ls.c /bin/lc SEE ALSO
stat(3), mc(1) LS(1)
All times are GMT -4. The time now is 09:45 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy